Skip site navigation (1) Skip section navigation (2)

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

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Lee Jensen <ljensen(at)carriersales(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: plpython triggers TD["new"] = None
Date: 2005-01-27 22:39:41
Message-ID: 20050127223941.GG30463@dcc.uchile.cl (view raw or flat)
Thread:
Lists: pgsql-bugs
On Thu, Jan 27, 2005 at 03:13:27PM -0700, Lee Jensen wrote:
> I have postgres 7.4.6 installed on 2 machines one debian and one 
> freebsd. Both are the most recent installs of each OS. On both I have 
> the plpython module and both are having the same issue. Essentially when 
> a function is called from a
... [FOR EACH STATEMENT] ...
> trigger the TD tuple get's populated with 
> all the standard data except new and old have no value (None). Here is 
> the function code I am working with:

Statement level triggers don't have access to NEW nor OLD.  Only row
level triggers do ...

-- 
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"I suspect most samba developers are already technically insane...
Of course, since many of them are Australians, you can't tell." (L. Torvalds)

In response to

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group