Merlin Moncure <mmoncure@gmail.com> writes:
> The only exception to this rule is cursors. Reading from cursors via
> FETCH allows you to pull data from a refcursor that was set up in a
> previous function call and works pretty well, but comes with the giant
> downside that the results can be directed only to the client.
Hmm, couldn't you do a FETCH into a record variable in plpgsql? Not
that you'd not have problems manipulating the record variable, since
plpgsql is pretty strongly typed itself.
regards, tom lane