]> 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:13 +0000 (17:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 Nov 2011 21:54:11 +0000 (17:54 -0400)
commit515e813543dad5464c1a226fd068fd4daf26a7f9
tree2fcab3d6f8a1f200d2bf14f384df272bad463fc0
parentf66c8252ab9a64dd49a0af2b481a2621dd008768
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