Re: Add index OID macro argument to DECLARE_INDEX

2021-06-28 Thread Peter Eisentraut
On 21.06.21 13:53, John Naylor wrote: > 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_i

Re: Add index OID macro argument to DECLARE_INDEX

2021-06-21 Thread John Naylor
On Mon, Jun 21, 2021 at 3:23 AM Peter Eisentraut < peter.eisentr...@enterprisedb.com> wrote: > > > 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 >

Add index OID macro argument to DECLARE_INDEX

2021-06-21 Thread Peter Eisentraut
00:00 2001 From: Peter Eisentraut Date: Mon, 21 Jun 2021 09:10:12 +0200 Subject: [PATCH] Add index OID macro argument to DECLARE_INDEX Instead of defining symbols such as AmOidIndexId explicitly, include them as an argument of DECLARE_INDEX() and have genbki.pl generate the way as the table OID sy