[COMMITTERS] pgsql: Dept of second thoughts: keep aliasp_item in sync withtlistitem - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Dept of second thoughts: keep aliasp_item in sync withtlistitem
Date
Msg-id E1e8Cw7-0000zA-7B@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Dept of second thoughts: keep aliasp_item in sync with tlistitem.

Commit d5b760ecb wasn't quite right, on second thought: if the
caller didn't ask for column names then it would happily emit
more Vars than if the caller did ask for column names.  This
is surely not a good idea.  Advance the aliasp_item whether or
not we're preparing a colnames list.

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d01d97c25cf425acc097520bc1c6af57dff51c44

Modified Files
--------------
src/backend/parser/parse_relation.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix crash when columns have been added to the end of a view.
Next
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Fix misplaced ReleaseSysCache call inget_default_partition_oid.