Add index OID macro argument to DECLARE_INDEX

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Add index OID macro argument to DECLARE_INDEX
Дата
Msg-id ccef1e46-a404-25b1-9b4c-85f2c08e1f28@enterprisedb.com
обсуждение исходный текст
Ответы Re: Add index OID macro argument to DECLARE_INDEX  (John Naylor <john.naylor@enterprisedb.com>)
Список 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)

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Brar Piening
Дата:
Сообщение: Doc patch for Logical Replication Message Formats (PG14)
Следующее
От: Japin Li
Дата:
Сообщение: Re: Fix for segfault in logical replication on master