From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Make Gather node projection-capable. |
Date: | 2015-10-27 23:47:21 |
Message-ID: | E1ZrDxZ-0007Rh-U6@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2015-10-27 23:54:23 | Re: [COMMITTERS] pgsql: Cleanup commit timestamp module activaction, again |
Previous Message | Alvaro Herrera | 2015-10-27 22:03:48 | pgsql: Document BRIN's inclusion opclass framework |