RE: dynamic field names in a function.

From: Soma Interesting <dfunct(at)telus(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: RE: dynamic field names in a function.
Date: 2001-03-30 22:34:21
Message-ID: 5.0.2.1.0.20010330142615.023d49a0@pop.telus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ed Loehr 2001-03-30 22:43:40 PL/pgSQL parameter passing bug?
Previous Message Daniel Serodio 2001-03-30 22:27:30 Locale and LIKE matching