Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)
Дата
Msg-id 42C55192.3070200@pse-consulting.de
обсуждение исходный текст
Ответ на enable/disable trigger (Re: Fwd: [HACKERS] Open items)  (Satoshi Nagayasu <nagayasus@nttdata.co.jp>)
Список pgsql-patches
Satoshi Nagayasu wrote:

>Hi all,
>
>Here is a first patch to allow these commands.
>
>
>
>>ALTER TABLE <table> ENABLE TRIGGER <trigname>
>>ALTER TABLE <table> DISABLE TRIGGER <trigname>
>>
>>
>
>Bruce said to allow them only super-user,
>but currently this patch allows also the table owner.
>
>
>
It would be convenient if all triggers could be disabled with a single
command. More precise:
option 1: All triggers except for RI triggers (EN/DISABLE TRIGGER ALL)
option 2: really all triggers including RI triggers (superuser only)

Regards,
Andreas




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pl/pgsql: END verbosity [patch]
Следующее
От: Karel Zak
Дата:
Сообщение: Re: Implementing SELECT FOR UPDATE [NOWAIT]