From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Use ResultRelInfo ** rather than ResultRelInfo * for tuple routi
Date: Thu, 12 Oct 2017 20:51:01 +0000
Message-ID: <E1e2kRZ-00015n-VL@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Use ResultRelInfo ** rather than ResultRelInfo * for tuple routing.
The previous convention doesn't lend itself to creating ResultRelInfos
lazily, as we already do in ExecGetTriggerResultRel. This patch
doesn't make anything lazier than before, but the pending patch for
UPDATE tuple routing proposes to do so (and there might be other
opportunities as well).
Amit Khandekar with some adjustments by me.
Discussion: http://postgr.es/m/CA+TgmoYPVP9Lyf6vUFA5DwxS4c--x6LOj2y36BsJaYtp62eXPQ@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/60f7c0abef0327648c02795312d1679c66586fbb
Modified Files
--------------
src/backend/commands/copy.c | 10 ++---
src/backend/executor/execMain.c | 13 +++---
src/backend/executor/nodeModifyTable.c | 74 ++++++++++++++++++++--------------
src/include/executor/executor.h | 2 +-
src/include/nodes/execnodes.h | 2 +-
5 files changed, 57 insertions(+), 44 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: Use ResultRelInfo ** rather than ResultRelInfo * for tuple routi
In-Reply-To: <E1e2kRZ-00015n-VL@gemulon.postgresql.org>
References: <E1e2kRZ-00015n-VL@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