From: Tom Lane <tgl@sss.pgh.pa.us>
To: elein <elein@varlena.com>
Cc: Robert Treat <xzilla@users.sourceforge.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: obtuse plpgsql function needs
Date: Wed, 23 Jul 2003 15:15:50 -0400
Message-ID: <15642.1058987750@sss.pgh.pa.us> (raw)
In-Reply-To: <20030723111201.D20411@cookie>
References: <1058913112.22259.271.camel@camel>
<20030722163335.A18881@cookie>
<1058965609.22259.292.camel@camel>
<20030723111201.D20411@cookie>
elein <elein@varlena.com> writes:
> You can do it in C, of course.
Yeah. Also you could do it easily in plperl or pltcl (composite-type
arguments get passed as perl hashes or Tcl arrays respectively).
plpgsql does not have any facility for run-time determination of field
names, so you're pretty much out of luck in that particular language.
regards, tom lane
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, elein@varlena.com, xzilla@users.sourceforge.net
Subject: Re: obtuse plpgsql function needs
In-Reply-To: <15642.1058987750@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