Some RELKIND macro refactoring
Peter Eisentraut <peter@eisentraut.org>
Some RELKIND macro refactoring Add more macros to group some RELKIND_* macros: - RELKIND_HAS_PARTITIONS() - RELKIND_HAS_TABLESPACE() - RELKIND_HAS_TABLE_AM() Reviewed-by: Michael Paquier <michael@paquier.xyz> Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org> Discussion: https://www.postgresql.org/message-id/flat/a574c8f1-9c84-93ad-a9e5-65233d6fc00f%40enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/amcheck/verify_heapam.c | modified | +1 −3 |
| contrib/pgstattuple/pgstattuple.c | modified | +8 −9 |
| contrib/pg_surgery/heap_surgery.c | modified | +1 −3 |
| contrib/pg_visibility/pg_visibility.c | modified | +1 −3 |
| src/backend/catalog/heap.c | modified | +56 −100 |
| src/backend/catalog/index.c | modified | +1 −1 |
| src/backend/commands/indexcmds.c | modified | +3 −6 |
| src/backend/commands/tablecmds.c | modified | +2 −6 |
| src/backend/optimizer/util/plancat.c | modified | +14 −27 |
| src/backend/storage/buffer/bufmgr.c | modified | +16 −27 |
| src/backend/utils/adt/partitionfuncs.c | modified | +2 −5 |
| src/backend/utils/cache/relcache.c | modified | +30 −60 |
| src/bin/pg_dump/pg_dump.c | modified | +13 −4 |
| src/include/catalog/pg_class.h | modified | +25 −0 |
Discussion
- Some RELKIND macro refactoring 16 messages · 2021-08-16 → 2021-12-03