Re: plpython triggers TD["new"] = None

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Lee Jensen <ljensen(at)carriersales(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: plpython triggers TD["new"] = None
Date: 2005-01-27 22:46:54
Message-ID: 20050127224654.GH30463@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Jan 27, 2005 at 03:34:55PM -0700, Michael Fuhr wrote:

> OLD and NEW don't make sense in statement-level triggers because
> the statement could affect many rows. Use FOR EACH ROW if you need
> to access the row values.

IMHO they do make sense. It's just that they haven't been implemented.

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"El miedo atento y previsor es la madre de la seguridad" (E. Burke)

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Fuhr 2005-01-27 23:01:32 Re: plpython triggers TD["new"] = None
Previous Message Michael Fuhr 2005-01-27 22:43:08 Re: 8.0.0 make check fails on Solaris 9 (sparc)