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

From Michael Paquier
Subject Re: feature proposal - triggers by semantics
Date
Msg-id CAB7nPqRnk6AQqm4CcR1E4qzszDiAOvZe82w7SiBtcS0h7b+L0Q@mail.gmail.com
Whole thread Raw
In response to Re: feature proposal - triggers by semantics  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
List pgsql-hackers


On Fri, Nov 16, 2012 at 6:38 AM, Dimitri Fontaine <dimitri@2ndquadrant.fr> 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.
+1
--
Michael Paquier
http://michael.otacoo.com

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [WIP] pg_ping utility
Next
From: Jeff Janes
Date:
Subject: Re: Further pg_upgrade analysis for many tables