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.20010330135505.02349638@pop.telus.net
Whole thread Raw
In response to dynamic field names in a function.  (Soma Interesting <dfunct@telus.net>)
List pgsql-general
At 03:43 PM 3/30/2001 -0600, you wrote:
>I think I am beginning to understand your question.  You want to know
>whether a field name can be referenced using a variable as all or part of
>the field name?  I don't know for sure, but I can't make it work, and
>apparently you can't either.
>Your earlier message is still out on the wire, so someone more knowledgeable
>may still answer.
>If you expect the maximum number of question/answer pairs to be manageably
>small, you could do a series of actions for each field by name, incrementing
>a counter for each pair, and comparing the counter value to 'qty'.
>Horrible, I know, but the best I can suggest right now.

I'm going to quote your rephrasing of my question to the list, maybe your
words will carry more weight as "valid" question.

Another option would be to use Tcl or Pearl, would they be able to use
variables as all or part of the field name?


pgsql-general by date:

Previous
From: "Oliver Elphick"
Date:
Subject: Re: Data access permission?
Next
From: Daniel Serodio
Date:
Subject: Re: Locale and LIKE matching