Lee Hughes <lee@xxxxxxxxxxxx> writes: > 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. There isn't any --- plpgsql doesn't deal in accesses to unknown fields (mainly because it can't know their type, and it's a strongly typed language). Consider plperl or plpython or pl-anything-but-pgsql. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general