shihao zhong <[email protected]> writes:
> One thing. The patch rejects every pseudotype for OUT and TABLE
> arguments, including record. The old code skipped OUT arguments, and
> plpgsql does allow record there. Is that intended?

It is tighter than before.  At least for polymorphic types, I don't
think the difference matters, because the core code will enforce that
you can't have a polymorphic output without a polymorphic input, so
we'd reject the function anyway.  But maybe we should allow a RECORD
output; did that work before?  (I'd bet not, but haven't tested)

                        regards, tom lane


Reply via email to