NEW and OLD in EXECUTE - Mailing list pgsql-hackers

From Rod Taylor
Subject NEW and OLD in EXECUTE
Date
Msg-id 0cd901c095e8$b94a4ee0$6500000a@jester
Whole thread Raw
Responses Re: NEW and OLD in EXECUTE
List pgsql-hackers
Are we not allowed to use NEW and OLD in an EXECUTEd statement?

Postgresql 7.1 beta 4

Received:
ERROR:  NEW used in non-rule query

from within a plpgsql function (using an EXECUTE statement of course).

That aside, is there anyway to do:

v_var := NEW.v_variable;

As it would be an acceptable alternative.

--
Rod Taylor

There are always four sides to every story: your side, their side, the
truth, and what really happened.

pgsql-hackers by date:

Previous
From: "Mikheev, Vadim"
Date:
Subject: RE: Recovery of PGSQL after system crash failing!!!
Next
From: Peter Eisentraut
Date:
Subject: Re: locale support