Re: Row fields by position in a cursor

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Row fields by position in a cursor
Дата
Msg-id 23212.1109712434@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Row fields by position in a cursor  ("Mike Preston" <MPreston@mosscodilis.com>)
Список pgsql-general
"Mike Preston" <MPreston@mosscodilis.com> writes:
> Since I won't know in advance the fieldnames being passed by the SQL
> string, I'd like to dereference the column fields by position.  Can
> anybody tell me the syntax for doing this?

There isn't one, at least not in plpgsql.  You might have some success
in one of the other PL languages --- certainly pltcl or 8.0 plperl can
do this.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Romagnoli
Дата:
Сообщение: Novice Question
Следующее
От: Michael Romagnoli
Дата:
Сообщение: Re: Novice Question