pgsql: Fix incorrect tlist generation in create_gather_plan(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix incorrect tlist generation in create_gather_plan().
Date
Msg-id E1adgTt-0007Bf-ER@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix incorrect tlist generation in create_gather_plan().

This function is written as though Gather doesn't project; but it does.
Even if it did not project, though, we must use build_path_tlist to ensure
that the output columns receive correct sortgroupref labeling.

Per report from Amit Kapila.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8776c15c85322612b9bf79daf50f74be71c12e05

Modified Files
--------------
src/backend/optimizer/plan/createplan.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: postgres_fdw: Consider foreign joining and foreign sorting toget
Next
From: Robert Haas
Date:
Subject: pgsql: Add a generic command progress reporting facility.