Add index OID macro argument to DECLARE_INDEX - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Add index OID macro argument to DECLARE_INDEX
Date
Msg-id ccef1e46-a404-25b1-9b4c-85f2c08e1f28@enterprisedb.com
Whole thread Raw
Responses Re: Add index OID macro argument to DECLARE_INDEX
List pgsql-hackers
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)

Attachment

pgsql-hackers by date:

Previous
From: Brar Piening
Date:
Subject: Doc patch for Logical Replication Message Formats (PG14)
Next
From: Japin Li
Date:
Subject: Re: Fix for segfault in logical replication on master