Re: "record" datatype - plpgsql

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Brian Knox <laotse(at)aol(dot)net>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: "record" datatype - plpgsql
Date: 2003-05-29 22:05:01
Message-ID: 20030529150416.K65610-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Thu, 29 May 2003, Brian Knox wrote:

> Given a variable of the "record" data type in pl/pgsql, is it possible to
> get the names of the columns ( attributes ) of that record?
>
> eg, given record "NEW" for table "foo", is there a way to get information
> concerning the columns that make up that record?

AFAIK there isn't one without other information (like that the table was
"foo").

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message andhie lala 2003-05-30 04:52:15 please helpme ?
Previous Message George Weaver 2003-05-29 21:29:39 Re: "record" datatype - plpgsql