Re: plpython triggers TD["new"] = None - Mailing list pgsql-bugs

From Michael Fuhr
Subject Re: plpython triggers TD["new"] = None
Date
Msg-id 20050127232310.GA47909@winnie.fuhr.org
Whole thread Raw
In response to Re: plpython triggers TD["new"] = None  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-bugs
On Thu, Jan 27, 2005 at 08:11:50PM -0300, Alvaro Herrera wrote:
> On Thu, Jan 27, 2005 at 04:01:32PM -0700, Michael Fuhr wrote:
> >
> > What do you have in mind?  What would OLD and NEW refer to in
> > statements that affect multiple rows?  Are you thinking of a way
> > to refer to all of the old and new rows?
>
> Yes, exactly that.  They would be arrays of tuples (or whatever they are
> called in Python -- I'm not thinking specifically in Python.)

Right...when I saw your first response I started digging around one
of the standards and saw references to old and new transition tables
for statement-level triggers.  That would be handy if it could be
implemented without scalability problems.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: plpython triggers TD["new"] = None
Next
From: "Junior - COTRIJUI"
Date:
Subject: unscribe