Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I don't remember every seeing a function returning sets before. Can you
> give an example?
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/xfunc-sql.html#AEN26392
Also, the preceding subsection shows SQL functions returning rows. So
these features have been there, but they were messy and awkward to use.
Recall that the TODO item was* -Functions returning sets do not totally work
and not "we don't have functions returning sets".
regards, tom lane