pgsql: Fix inline_set_returning_function() to allow multiple OUT parame

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix inline_set_returning_function() to allow multiple OUT parame
Date: 2011-11-03 21:54:29
Message-ID: E1RM5Ez-0003bj-2m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1819a375f117b8f98f6d4dd33bf53169e5e001ba

Modified Files
--------------
src/backend/optimizer/util/clauses.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-11-03 23:18:40 pgsql: Improve comments for TSLexeme data structure.
Previous Message Andrew Dunstan 2011-11-03 20:34:52 pgsql: Role membership of superusers is only by explicit membership for