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

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Satoshi Nagayasu <nagayasus(at)nttdata(dot)co(dot)jp>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)
Date: 2005-07-01 14:22:10
Message-ID: 42C55192.3070200@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message K.G.Sivaraman 2005-07-01 14:30:02 BUG #1745: Unable to delete data from the database
Previous Message K.G.Sivaraman 2005-07-01 14:18:48 BUG #1744: Directory Missing

Browse pgsql-patches by date

  From Date Subject
Next Message Fabien COELHO 2005-07-01 15:05:19 Re: [PATCHES] Users/Groups -> Roles
Previous Message Tom Lane 2005-07-01 14:03:57 Re: pl/pgsql: END verbosity [patch]