Move RelFileNumber declarations to common/relpath.h.
Robert Haas <rhaas@postgresql.org>
Move RelFileNumber declarations to common/relpath.h. Previously, these were declared in postgres_ext.h, but they are not needed nearly so widely as the OID declarations, so that doesn't necessarily make sense. Also, because postgres_ext.h is included before most of c.h has been processed, the previous location creates some problems for a pending patch. Patch by me, reviewed by Dilip Kumar. Discussion: http://postgr.es/m/CA+TgmoYc8oevMqRokZQ4y_6aRn-7XQny1JBr5DyWR_jiFtONHw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_dump.c | modified | +1 −0 |
| src/bin/pg_upgrade/pg_upgrade.h | modified | +1 −0 |
| src/include/catalog/binary_upgrade.h | modified | +2 −0 |
| src/include/common/relpath.h | modified | +7 −0 |
| src/include/nodes/parsenodes.h | modified | +1 −0 |
| src/include/nodes/plannodes.h | modified | +1 −0 |
| src/include/postgres_ext.h | modified | +0 −8 |
| src/include/utils/relcache.h | modified | +1 −0 |
Discussion
- Make relfile tombstone files conditional on WAL level 184 messages · 2021-03-04 → 2023-01-06