Re: Command Triggers, patch v11 - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: Command Triggers, patch v11
Date
Msg-id 4F4C99AD0200002500045C72@gw.wicourts.gov
Whole thread Raw
In response to Re: Command Triggers, patch v11  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Command Triggers, patch v11  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> This seems over-complicated.  Triggers on tables do not have
> alterable properties, why should command triggers?  I vote for
> 
>     CREATE COMMAND TRIGGER name ... properties ...;
> 
>     DROP COMMAND TRIGGER name;
> 
> full stop.  If you want to run the same trigger function on some
> more commands, add another trigger name.
+1
-Kevin


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Command Triggers, patch v11
Next
From: Tom Lane
Date:
Subject: Re: FDW system columns