Add index OID macro argument to DECLARE_INDEX
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-06-21T07:23:09Z
Lists: pgsql-hackers
Attachments
- 0001-Add-index-OID-macro-argument-to-DECLARE_INDEX.patch (text/plain) patch 0001
This patch changes places like this DECLARE_UNIQUE_INDEX_PKEY(pg_aggregate_fnoid_index, 2650, on pg_aggregate using btree(aggfnoid oid_ops)); #define AggregateFnoidIndexId 2650 to this DECLARE_UNIQUE_INDEX_PKEY(pg_aggregate_fnoid_index, 2650, AggregateFnoidIndexId, on pg_aggregate using btree(aggfnoid oid_ops)); and makes genbki.pl generate the #define's. This makes the handling of catalog index OIDs consistent with the handling of catalog tables. Compare with: CATALOG(pg_aggregate,2600,AggregateRelationId)
Commits
-
Add index OID macro argument to DECLARE_INDEX
- 6a6389a08b22 15.0 landed