pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ken Winter <ken@sunward.org>
Cc: 'PostgreSQL pg-sql list' <pgsql-sql@postgresql.org>
Subject: Re: Variable column names in PL/pgSQL RECORD referencces
Date: Fri, 25 Nov 2005 14:22:08 -0500
Message-ID: <24858.1132946528@sss.pgh.pa.us> (raw)
In-Reply-To: <004901c5f1ea$4a322a10$6603a8c0@kenxp>
References: <004901c5f1ea$4a322a10$6603a8c0@kenxp>

"Ken Winter" <ken@sunward.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



view thread (2+ messages)

Message-ID: <24858.1132946528@sss.pgh.pa.us>
Permalink:  ../24858.1132946528@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24858.1132946528@sss.pgh.pa.us

 · 

reply

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, ken@sunward.org
  Subject: Re: Variable column names in PL/pgSQL RECORD referencces
  In-Reply-To: <24858.1132946528@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