diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-04-21 12:02:23 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-04-21 12:02:23 -0400 |
commit | 40eba064b24d98e343b45ccef6907fe8c9784dc1 (patch) | |
tree | 3037fa3787402527e02e3548fb1a3225af79cc65 /src/backend/utils/init/postinit.c | |
parent | 4eea2202beadbba67638bb129149abe5650aaaf6 (diff) | |
download | postgresql-40eba064b24d98e343b45ccef6907fe8c9784dc1.tar.gz postgresql-40eba064b24d98e343b45ccef6907fe8c9784dc1.zip |
Use DECLARE_TOAST_WITH_MACRO() to simplify toast-table declarations.
This is needed so that renumber_oids.pl can handle renumbering
shared catalog declarations, which need to provide C macros for
the OIDs of the shared toast table and index. The previous
method of writing a C macro separately was error-prone anyway.
Also teach renumber_oids.pl about DECLARE_UNIQUE_INDEX_PKEY,
as we missed doing when inventing that macro.
There are no changes to postgres.bki here, so no need for a
catversion bump.
Discussion: https://postgr.es/m/2995325.1650487527@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/init/postinit.c')
0 files changed, 0 insertions, 0 deletions