pgsql: Make Gather node projection-capable. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Make Gather node projection-capable.
Date
Msg-id E1ZrDxZ-0007Rh-U6@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make Gather node projection-capable.

The original Gather code failed to mark a Gather node as not able to
do projection, but it couldn't, even though it did call initialize its
projection info via ExecAssignProjectionInfo.  There doesn't seem to
be any good reason for this node not to have projection capability,
so clean things up so that it does.  Without this, plans using Gather
nodes might need to carry extra Result nodes to do projection.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8538a6307049590ddb5ba127b2ecac6308844d60

Modified Files
--------------
src/backend/executor/nodeGather.c    |   87 +++++++++++++++++++++++++++-------
src/backend/optimizer/plan/setrefs.c |    5 +-
src/include/nodes/execnodes.h        |    1 +
3 files changed, 75 insertions(+), 18 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Document BRIN's inclusion opclass framework
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Fix secondary expected output for commit_ts test