From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brian Knox <laotse@aol.net>
Cc: George Weaver <georgew1@mts.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: "record" datatype - plpgsql
Date: Fri, 30 May 2003 09:50:02 -0400
Message-ID: <9212.1054302602@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.53.0305300851380.13440@tao.office.aol.com>
References: <Pine.LNX.4.53.0305280753040.30365@tao.office.aol.com>
<005001c32624$0f0f3980$0100007f@cleartag>
<Pine.LNX.4.53.0305300851380.13440@tao.office.aol.com>
Brian Knox <laotse@aol.net> writes:
> What I was asking is if there's anyway to use
> the NEW record to get a list of the columnnames in it without knowing them
> beforehand.
Not in plpgsql ... and if you did, you couldn't do anything useful with
the names (like access the fields) anyway. I believe you can do it in
pltcl 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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, laotse@aol.net, georgew1@mts.net
Subject: Re: "record" datatype - plpgsql
In-Reply-To: <9212.1054302602@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