Re: Array initialisation notation in syscache.c

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Array initialisation notation in syscache.c
Дата
Msg-id b5d094e9-560c-bddb-015a-d39a57d64139@eisentraut.org
обсуждение исходный текст
Ответ на Re: Array initialisation notation in syscache.c  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: Array initialisation notation in syscache.c
Список pgsql-hackers
On 31.03.23 04:16, Thomas Munro wrote:
>  From the light relief department, here is some more variadic macrology:
> 
> -       tp = SearchSysCache1(TSPARSEROID, ObjectIdGetDatum(prsId));
> +       tp = SearchSysCache(TSPARSEROID, ObjectIdGetDatum(prsId));

I'm worried that if we are removing the variants with the explicit 
numbers, it will make it difficult for extensions to maintain 
compatibility with previous PG major versions.  They would probably have 
to copy much of your syscache.h changes into their own code.  Seems messy.




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

Предыдущее
От: Ryoga Yoshida
Дата:
Сообщение: Re: Bug fix in vacuumdb --buffer-usage-limit xxx -Z
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: [PoC] pg_upgrade: allow to upgrade publisher node