From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joe Conway <mail@joeconway.com>
Cc: Rich Cullingford <rculling@sysd.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Tantalizing reference to passing data from NEW variable
Date: Wed, 28 Apr 2004 01:09:14 -0400
Message-ID: <23420.1083128954@sss.pgh.pa.us> (raw)
In-Reply-To: <408D4143.7040600@joeconway.com>
References: <408D2CE5.1090108@sysd.com>
<408D4143.7040600@joeconway.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, mail@joeconway.com, rculling@sysd.com
Subject: Re: Tantalizing reference to passing data from NEW variable
In-Reply-To: <23420.1083128954@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox