Re: GUC for temporarily disabling event triggers

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: GUC for temporarily disabling event triggers
Дата
Msg-id ZC3w91Q5wyDjSfjJ@paquier.xyz
обсуждение исходный текст
Ответ на Re: GUC for temporarily disabling event triggers  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: GUC for temporarily disabling event triggers  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
On Wed, Apr 05, 2023 at 10:43:23AM -0400, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Maybe we should back up and ask why we need more than "on" and "off".
>> If somebody is using this feature in any form more than very
>> occasionally, they should really go home and reconsider their database
>> schema.
>
> +1 ... this seems perhaps overdesigned.

Yes.  If you begin with an "on"/"off" switch, it could always be
extended later if someone makes a case for it, with a grammar like one
I mentioned upthread, or even something else.  If there is no strong
case for more than a boolean for now, simpler is better.
--
Michael

Вложения

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Option to not use ringbuffer in VACUUM, using it in failsafe mode
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [BUG] pg_stat_statements and extended query protocol