Re: passing new.* in trigger - Mailing list pgsql-general

From Tom Lane
Subject Re: passing new.* in trigger
Date
Msg-id 29091.1097091026@sss.pgh.pa.us
Whole thread Raw
In response to passing new.* in trigger  (Alessandro Vincelli <a.vincelli@w4b.it>)
List pgsql-general
Alessandro Vincelli <a.vincelli@w4b.it> writes:
> I must pass NEW row to function count_room(rowtype) as in this code, but
> pgsql return "_ NEW used in query that is not in a rule".
> I have a bad syntax or is impossible pass NEW.*?

That will work in 8.0, but not before.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: postgres.h location?
Next
From: Tom Lane
Date:
Subject: Re: Help on copy function