Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> writes:
>> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>>> (When there is just one, should the default be to return that type
>>> rather than a one-column RECORD?)
> ANSI SQL allows at most one OUT parameter for a function (which can be
> used instead of having the function return a value via the usual means).
OK, so that answers my question above: a single OUT parameter should be
equated to an ordinary return value, not a RECORD, so as to emulate this
aspect of the spec.
regards, tom lane