RE: dynamic field names in a function.

Поиск
Список
Период
Сортировка
От Soma Interesting
Тема RE: dynamic field names in a function.
Дата
Msg-id 5.0.2.1.0.20010330142615.023d49a0@pop.telus.net
обсуждение исходный текст
Ответ на RE: dynamic field names in a function.  (Jeff Eckermann <jeckermann@verio.net>)
Список 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 по дате отправления:

Предыдущее
От: Jeff Eckermann
Дата:
Сообщение: RE: dynamic field names in a function.
Следующее
От: Ed Loehr
Дата:
Сообщение: PL/pgSQL parameter passing bug?