]> 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:26 +0000 (17:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 Nov 2011 21:53:26 +0000 (17:53 -0400)
commit9b3c35a9db418379fc760105df04ac30810f9c88
tree0ccb358b80a1f75d4ceac224ffb5e36cf232bc50
parent42f77244e75a7f82bd87ccf72bdd9d2eb2005f69
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