Re: GUC for temporarily disabling event triggers

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: GUC for temporarily disabling event triggers
Дата
Msg-id 8D26ACC2-7669-460D-833A-582EAD6CC09E@yesql.se
обсуждение исходный текст
Ответ на Re: GUC for temporarily disabling event triggers  (Mikhail Gribkov <youzhick@gmail.com>)
Ответы Re: GUC for temporarily disabling event triggers  (Mikhail Gribkov <youzhick@gmail.com>)
Re: GUC for temporarily disabling event triggers  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
> On 27 Jan 2023, at 15:00, Mikhail Gribkov <youzhick@gmail.com> wrote:

> There is a complete framework for disabling various types of the event triggers separately, but, the list of valid
GUCvalues only include 'all' and 'none'. Why not adding support for all the event trigger types separately? Everything
isalready there in the patch; the only thing needed is expanding couple of enums. It's cheap in terms of code size and
evencheaper in terms of performance. And moreover - it would be a good example for anyone adding new trigger types. 

I can't exactly recall my reasoning, but I do think you're right that if we're
to have this GUC it should support the types of existing EVTs.  The updated v4
implements that as well as a rebase on top of master and fixing a typo
discovered upthread.

--
Daniel Gustafsson


Вложения

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

Предыдущее
От: "Hayato Kuroda (Fujitsu)"
Дата:
Сообщение: RE: [Proposal] Add foreign-server health checks infrastructure
Следующее
От: Andrei Zubkov
Дата:
Сообщение: Re: Normalization of utility queries in pg_stat_statements