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

Поиск
Список
Период
Сортировка
От Satoshi Nagayasu
Тема Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)
Дата
Msg-id 42C4F137.6000507@nttdata.co.jp
обсуждение исходный текст
Ответ на Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)
Список pgsql-patches
> The table owner can drop and create triggers - so why shouldn't they be
> able to enable and disable them?

For convenience or easy operation.

I believe the user doesn't like to create same triggers again and again.

Christopher Kings-Lynne wrote:
>>>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.
>
>
> The table owner can drop and create triggers - so why shouldn't they be
> able to enable and disable them?
>
> Chris
>
>


--
NAGAYASU Satoshi <nagayasus@nttdata.co.jp>

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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)