Re: Variable column names in PL/pgSQL RECORD referencces

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ken Winter" <ken(at)sunward(dot)org>
Cc: "'PostgreSQL pg-sql list'" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Variable column names in PL/pgSQL RECORD referencces
Date: 2005-11-25 19:22:08
Message-ID: 24858.1132946528@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Ken Winter" <ken(at)sunward(dot)org> writes:
> In PL/pgSQL, is there a way to put a *variable* column-name in a dot
> notation reference to a RECORD column?

No. Some of the other, less-strongly-typed PLs can do it.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2005-11-25 19:59:03 Re: Order of precedence between AND and OR.
Previous Message Ken Winter 2005-11-25 18:01:40 Variable column names in PL/pgSQL RECORD referencces