>>>>> "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
Tom> and this would result in producing the array elements as a table
Tom> column. There is nothing in there about a function returning
Tom> set.
In the spec, there is no such thing as a function returning a set of
rows in the sense that we use.
Functions can return arrays or multisets of simple or composite types,
but a multiset is a single value like an array (just with slightly
different semantics), not a set of rows. (And in particular it's not
ordered.)
--
Andrew (irc:RhodiumToad)