Referencing Cursor/Row/Record Fields in PL/PgSQL

Поиск
Список
Период
Сортировка
От Lee Hughes
Тема Referencing Cursor/Row/Record Fields in PL/PgSQL
Дата
Msg-id 2d739b560902101315s3118915w37fe0b4b488524c1@mail.gmail.com
обсуждение исходный текст
Ответы Re: Referencing Cursor/Row/Record Fields in PL/PgSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Trying to figure out how to reference a field in a cursor result, or in a row/record variable that I've FETCHed the cursor into, where the target field name is in a variable or parameter. I think I'm just missing the dereferencing syntax. I've studied the manual and tried using EXECUTE to no avail.

Worst case, if I could just reference the Nth field, then I could combine with pg_attribute info to get what I need.

Thanks for any help-

Lee

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: tablelog
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Referencing Cursor/Row/Record Fields in PL/PgSQL