From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Make Gather node projection-capable.
Date: Tue, 27 Oct 2015 23:47:21 +0000
Message-ID: <E1ZrDxZ-0007Rh-U6@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Make Gather node projection-capable.
In-Reply-To: <E1ZrDxZ-0007Rh-U6@gemulon.postgresql.org>
References: <E1ZrDxZ-0007Rh-U6@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox