David Fetter <david@fetter.org> writes:
>> Here's a patch that adds an example of using SETOF RECORD with the
>> needed grammar.
I'm having a bit of a problem with this, because it is a plpgsql example
inserted into a section that is solely about SQL-language functions.
Can you adapt it to be an SQL function? Or put the example into the
plpgsql chapter?
regards, tom lane