RE: dynamic field names in a function. - Mailing list pgsql-general

From Soma Interesting
Subject RE: dynamic field names in a function.
Date
Msg-id 5.0.2.1.0.20010330142615.023d49a0@pop.telus.net
Whole thread Raw
In response to RE: dynamic field names in a function.  (Jeff Eckermann <jeckermann@verio.net>)
List pgsql-general
At 04:09 PM 3/30/2001 -0600, you wrote:
>An alternative would be to do the the work at the application level, i.e.
>the point where the data is collected.  You could use any language you like
>for that.

This has ran through my mind as an option - the project is a web
application with php and postgres, but a number of factors involved makes
it really undesirable to do this at the application level - to the point
that its worth my while to learn pl/pgsql, perl, or tcl to avoid it - or
possibly even C - none of which I know... yet :)

So I repeat the question, not to be obnoxious - but to be sure, "does
anyone *know* if any of the languages available for writing functions would
allow a field name to be referenced using a variable as all or part of the
field name?


pgsql-general by date:

Previous
From: Jeff Eckermann
Date:
Subject: RE: dynamic field names in a function.
Next
From: Ed Loehr
Date:
Subject: PL/pgSQL parameter passing bug?