Move RelFileNumber declarations to common/relpath.h.
authorRobert Haas <rhaas@postgresql.org>
Tue, 27 Sep 2022 16:01:57 +0000 (12:01 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 27 Sep 2022 16:01:57 +0000 (12:01 -0400)
commit2f47715cc8649f854b1df28dfc338af9801db217
treebac415813e53d0a65f2c91c8eec69cc7834a3c0b
parent7ac918ada0037fc1101456271b3e7d0982d6a375
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
src/bin/pg_dump/pg_dump.c
src/bin/pg_upgrade/pg_upgrade.h
src/include/catalog/binary_upgrade.h
src/include/common/relpath.h
src/include/nodes/parsenodes.h
src/include/nodes/plannodes.h
src/include/postgres_ext.h
src/include/utils/relcache.h