Re: Record Types Structure in PL/pgSQL

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Diego Sanchez R(dot)" <dmsanchezr(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Record Types Structure in PL/pgSQL
Date: 2007-06-08 19:16:58
Message-ID: b42b73150706081216w42a50c5dx58991ffe80cbc02d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/8/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Diego Sanchez R." <dmsanchezr(at)gmail(dot)com> writes:
> > Is there any way of determining the actual structure of a record variable?
>
> Not in plpgsql; even if the info were exposed, you couldn't do anything
> very useful because that language is strongly typed.
>

Well, you could do lots of useful things via dynamic sql...

merlin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2007-06-08 19:32:27 Re: how to speed up query
Previous Message Bruce Momjian 2007-06-08 19:00:35 Re: Wider than float8