19 messages in org.postgresql.pgsql-generalRE: dynamic field names in a function.
FromSent OnAttachments
Soma InterestingMar 29, 2001 2:38 pm 
Jeff EckermannMar 30, 2001 9:29 am 
Soma InterestingMar 30, 2001 10:06 am 
Soma InterestingMar 30, 2001 10:57 am 
Soma InterestingMar 30, 2001 1:58 pm 
Jeff EckermannMar 30, 2001 2:09 pm 
Soma InterestingMar 30, 2001 2:33 pm 
will trillichMar 30, 2001 3:46 pm 
Soma InterestingMar 30, 2001 4:38 pm 
will trillichMar 30, 2001 4:47 pm 
Soma InterestingMar 30, 2001 6:02 pm 
Eric G. MillerMar 30, 2001 7:29 pm 
Tom LaneMar 30, 2001 9:42 pm 
will trillichMar 30, 2001 10:04 pm 
will trillichMar 30, 2001 10:13 pm 
Tom LaneMar 31, 2001 4:57 pm 
will trillichApr 1, 2001 9:23 pm 
Tom LaneApr 1, 2001 11:27 pm 
Soma InterestingApr 3, 2001 1:23 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: dynamic field names in a function.Actions...
From:Soma Interesting (dfu@telus.net)
Date:Mar 30, 2001 2:33:59 pm
List:org.postgresql.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?