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

Re: Bug in triggers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Oleg Serov <serovov(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug in triggers
Date: 2010-03-09 15:25:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> What seems odd to me is that NEW is apparently some other kind of
> thing that is not the same kind of thing as the row variable.

NEW is a record variable, not a row variable.  In this context that's
sensible because its actual rowtype is unspecified by the function text.
The implications for row-null handling aren't obvious though :-(

			regards, tom lane

In response to


pgsql-bugs by date

Next:From: Pavel StehuleDate: 2010-03-09 15:31:10
Subject: Re: Bug in triggers
Previous:From: Robert HaasDate: 2010-03-09 14:32:19
Subject: Re: Bug in triggers

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