Re: Add index OID macro argument to DECLARE_INDEX

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: John Naylor <john.naylor@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-06-29T06:17:11Z
Lists: pgsql-hackers
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_index, 2650,
>  > AggregateFnoidIndexId, on pg_aggregate using btree(aggfnoid oid_ops));
> 
> +1, and the patch looks good to me.

committed, thanks



Commits

  1. Add index OID macro argument to DECLARE_INDEX