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