Re: feature proposal - triggers by semantics - Mailing list pgsql-hackers

From Darren Duncan
Subject Re: feature proposal - triggers by semantics
Date
Msg-id 50A564B4.7050907@darrenduncan.net
Whole thread Raw
In response to Re: feature proposal - triggers by semantics  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
List pgsql-hackers
Dimitri Fontaine wrote:
> Darren Duncan <darren@darrenduncan.net> writes:
>> So, I'm partly proposing a specific narrow new feature, "TRUNCATE FOR EACH
>> ROW"
> 
> Kevin has been proposing that we consider an alternative approach in
> some other cases that I think would work better for you, too. Namely, to
> have access to OLD and NEW in FOR EACH STATEMENT triggers, where they
> would be relations rather than records.
> 
> Regards,

Yes, I believe that would work very well.  In fact, that would provide some 
power features.  I look forward to this, probably the best solution. -- Darren 
Duncan



pgsql-hackers by date:

Previous
From: Kohei KaiGai
Date:
Subject: Re: [v9.3] OAT_POST_ALTER object access hooks
Next
From: Tom Lane
Date:
Subject: Re: add -Wlogical-op to standard compiler options?