X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6BBBAD1B445 for ; Wed, 28 Apr 2004 02:09:21 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 74741-07 for ; Wed, 28 Apr 2004 02:09:20 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id C5326D1B432 for ; Wed, 28 Apr 2004 02:09:18 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i3S59Fcr023421; Wed, 28 Apr 2004 01:09:15 -0400 (EDT) To: Joe Conway Cc: Rich Cullingford , pgsql-interfaces@postgresql.org Subject: Re: Tantalizing reference to passing data from NEW variable In-reply-to: <408D4143.7040600@joeconway.com> References: <408D2CE5.1090108@sysd.com> <408D4143.7040600@joeconway.com> Comments: In-reply-to Joe Conway message dated "Mon, 26 Apr 2004 10:05:07 -0700" Date: Wed, 28 Apr 2004 01:09:14 -0400 Message-ID: <23420.1083128954@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/69 X-Sequence-Number: 4890 Joe Conway 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