Re: disable a single trigger

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: disable a single trigger
Дата
Msg-id 1052.1036442769@sss.pgh.pa.us
обсуждение исходный текст
Ответ на disable a single trigger  (Laurette Cisneros <laurette@nextbus.com>)
Список pgsql-hackers
Laurette Cisneros <laurette@nextbus.com> writes:
> What is the status of the tgenabled field in pg_trigger?  It would be so
> nice to be able to disable just a single trigger on a table rather than
> having to disable all triggers.  The docs say "not presently checked
> everywhere it should be, so disabling a trigger by setting this false 
> does not work reliably". 

I believe it does work for BEFORE triggers, but not AFTER triggers.
There was some question about when it should be checked for an AFTER
trigger (when the event is queued?  Or fired?).
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Is my Internet connection slow
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Is my Internet connection slow