Merlin Moncure <mmoncure@gmail.com> writes:
> On Fri, Jun 5, 2009 at 6:51 PM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
>> I think you can loop over the results in plpgsql, for instance
> also sql functions can direct 'returning' results directly to the
> return of the function (at least in 8.4).
That bit is new in 8.4, which is why I didn't mention it. But I think
the plpgsql loop way works further back.
regards, tom lane