Re: On login trigger: take three

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: On login trigger: take three
Дата
Msg-id 3D73A5D0-8786-4FB9-8C63-53AF57473CEC@yesql.se
обсуждение исходный текст
Ответ на Re: On login trigger: take three  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
> On 14 Mar 2022, at 00:33, Andres Freund <andres@anarazel.de> wrote:

> We already have GUCs like row_security, so it doesn't seem insane to add one
> that disables login event triggers. What is the danger that you see?

My fear is that GUCs like that end up as permanent fixtures in scripts etc
after having been used temporary, and then X timeunits later someone realize
that the backup has never actually really worked due to a subtle issue, or
something else unpleasant.

The row_security GUC is kind of different IMO, as it's required for pg_dump
(though it can be used in the same way as the above).

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: BufferAlloc: don't take two simultaneous locks
Следующее
От: Zhihong Yu
Дата:
Сообщение: Re: simplifying foreign key/RI checks