pgsql: Fix thinko in copyParamList.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix thinko in copyParamList.
Date: 2016-07-27 14:25:10
Message-ID: E1bSPlm-0006Iu-8s@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix thinko in copyParamList.

There's no point in consulting retval->paramMask; it's always NULL.
Instead, we should consult from->paramMask.

Reported by Andrew Gierth.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b31875b1fe7131ac29f118efd81c9aba7255eced

Modified Files
--------------
src/backend/nodes/params.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-07-27 21:45:13 pgsql: Fix cost_rescan() to account for multi-batch hashing correctly.
Previous Message Tom Lane 2016-07-27 01:34:18 pgsql: Allow functions that return sets of tuples to return simple NULL