]> granicus.if.org Git - postgresql/commit
Fix inline_set_returning_function() to allow multiple OUT parameters.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 Nov 2011 21:53:33 +0000 (17:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 Nov 2011 21:53:33 +0000 (17:53 -0400)
commit9fc28fb5ea16c7f335aba052a2c31bbd03932f09
tree42839d20693c30b5c5a9a22ab0f32af109c4ba43
parent9f19cc28a439c88c73bc6083ebd9cd603a65b7fe
Fix inline_set_returning_function() to allow multiple OUT parameters.

inline_set_returning_function failed to distinguish functions returning
generic RECORD (which require a column list in the RTE, as well as run-time
type checking) from those with multiple OUT parameters (which do not).
This prevented inlining from happening.  Per complaint from Jay Levitt.
Back-patch to 8.4 where this capability was introduced.
src/backend/optimizer/util/clauses.c