Re: Improve readability by using designated initializers when possible

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Improve readability by using designated initializers when possible
Дата
Msg-id ZfJEMaW2Ij2Gyw9i@paquier.xyz
обсуждение исходный текст
Ответ на Re: Improve readability by using designated initializers when possible  (Peter Eisentraut <peter@eisentraut.org>)
Ответы Re: Improve readability by using designated initializers when possible  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
On Wed, Mar 13, 2024 at 02:24:32PM +0100, Peter Eisentraut wrote:
> On 08.03.24 06:50, Michael Paquier wrote:
>> This is usually taken care of by committers or updated automatically.
>
> both fixed

Looks mostly fine, thanks for the new version.

-EventTriggerSupportsObjectClass(ObjectClass objclass)
+EventTriggerSupportsObject(const ObjectAddress *object)

The shortcut introduced here is interesting, but it is inconsistent.
HEAD treats OCLASS_SUBSCRIPTION as something supported by event
triggers, but as pg_subscription is a shared catalog it would be
discarded with your change.  Subscriptions are marked as supported in
the event trigger table:
https://www.postgresql.org/docs/devel/event-trigger-matrix.html
--
Michael

Вложения

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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: May be BUG. Periodic burst growth of the checkpoint_req counter on replica.
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: Have pg_basebackup write "dbname" in "primary_conninfo"?