diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-10-28 00:27:58 +0100 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-10-28 00:27:58 +0100 |
commit | 8538a6307049590ddb5ba127b2ecac6308844d60 (patch) | |
tree | e735e8612e72c383f1fc469e2551cc7473005a9d /src/include/nodes/execnodes.h | |
parent | c15898c1d5d53602de097905a90f3dd176e8e7fd (diff) | |
download | postgresql-8538a6307049590ddb5ba127b2ecac6308844d60.tar.gz postgresql-8538a6307049590ddb5ba127b2ecac6308844d60.zip |
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.
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r-- | src/include/nodes/execnodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 4fcdcc4067a..939bc0ed734 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -1964,6 +1964,7 @@ typedef struct GatherState bool initialized; struct ParallelExecutorInfo *pei; struct TupleQueueFunnel *funnel; + TupleTableSlot *funnel_slot; bool need_to_scan_locally; } GatherState; |