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

From Dimitri Fontaine
Subject Re: feature proposal - triggers by semantics
Date
Msg-id m2y5i28s3b.fsf@2ndQuadrant.fr
Whole thread Raw
In response to feature proposal - triggers by semantics  (Darren Duncan <darren@darrenduncan.net>)
Responses Re: feature proposal - triggers by semantics  (Darren Duncan <darren@darrenduncan.net>)
Re: feature proposal - triggers by semantics  (Craig Ringer <craig@2ndQuadrant.com>)
Re: feature proposal - triggers by semantics  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
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,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: another idea for changing global configuration settings from SQL
Next
From: Dimitri Fontaine
Date:
Subject: Re: Hash id in pg_stat_statements