Re: "record" datatype - plpgsql - Mailing list pgsql-sql

From Tom Lane
Subject Re: "record" datatype - plpgsql
Date
Msg-id 9212.1054302602@sss.pgh.pa.us
Whole thread Raw
In response to Re: "record" datatype - plpgsql  (Brian Knox <laotse@aol.net>)
Responses Re: "record" datatype - plpgsql
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Brian Knox
Date:
Subject: Re: "record" datatype - plpgsql
Next
From: "Jr."
Date:
Subject: Re: "record" datatype - plpgsql