Referencing Cursor/Row/Record Fields in PL/PgSQL - Mailing list pgsql-general

From Lee Hughes
Subject Referencing Cursor/Row/Record Fields in PL/PgSQL
Date
Msg-id 2d739b560902101315s3118915w37fe0b4b488524c1@mail.gmail.com
Whole thread Raw
Responses Re: Referencing Cursor/Row/Record Fields in PL/PgSQL
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: tablelog
Next
From: Tom Lane
Date:
Subject: Re: Referencing Cursor/Row/Record Fields in PL/PgSQL