Allow extracting and parsing of reloptions from a bare pg_class tuple, and
Alvaro Herrera <alvherre@alvh.no-ip.org>
Allow extracting and parsing of reloptions from a bare pg_class tuple, and refactor the relcache code that used to do that. This allows other callers (particularly autovacuum) to do the same without necessarily having to open and lock a table.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/reloptions.c | modified | +48 −1 |
| src/backend/utils/cache/relcache.c | modified | +5 −28 |
| src/include/access/reloptions.h | modified | +4 −1 |