Re: Tantalizing reference to passing data from NEW variable - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: Tantalizing reference to passing data from NEW variable
Date
Msg-id 23420.1083128954@sss.pgh.pa.us
Whole thread Raw
In response to Re: Tantalizing reference to passing data from NEW variable  (Joe Conway <mail@joeconway.com>)
List pgsql-interfaces
Joe Conway <mail@joeconway.com> writes:
> Rich Cullingford wrote:
>> This question seems to have been asked a number of times on this list, 
>> recently (including by me) without being answered: how to pass the row 
>> data stored in the NEW variable from a trigger function into a 
>> sub-function.

> I looked a bit at making this work in PL/pgSQL at some point -- IIRC the
> issues to be solved were non-trivial.

I think that this might be less non-trivial given the recent changes in
the composite-type-datum support.  I haven't got round to looking at
plpgsql in particular, though.
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Lee Kindness
Date:
Subject: Re: Application compile file using Embeded SQL in P
Next
From: Bruce Momjian
Date:
Subject: ecpg and the timezone database