]> granicus.if.org Git - postgresql/commit
Make Gather node projection-capable.
authorRobert Haas <rhaas@postgresql.org>
Tue, 27 Oct 2015 23:27:58 +0000 (00:27 +0100)
committerRobert Haas <rhaas@postgresql.org>
Tue, 27 Oct 2015 23:27:58 +0000 (00:27 +0100)
commit8538a6307049590ddb5ba127b2ecac6308844d60
treee735e8612e72c383f1fc469e2551cc7473005a9d
parentc15898c1d5d53602de097905a90f3dd176e8e7fd
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.
src/backend/executor/nodeGather.c
src/backend/optimizer/plan/setrefs.c
src/include/nodes/execnodes.h