From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix interaction of triggers, partitioning, and EXPLAIN ANALYZE.
Date: Fri, 18 Aug 2017 17:09:01 +0000
Message-ID: <E1diklZ-0002ai-L2@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Fix interaction of triggers, partitioning, and EXPLAIN ANALYZE.
Add a new EState member es_leaf_result_relations, so that the trigger
code knows about ResultRelInfos created by tuple routing. Also make
sure ExplainPrintTriggers knows about partition-related
ResultRelInfos.
Etsuro Fujita, reviewed by Amit Langote
Discussion: http://postgr.es/m/57163e18-8e56-da83-337a-22f2c0008051@lab.ntt.co.jp
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c4b841ba6aa9252ab9dacd59d317aba8cfa9b31a
Modified Files
--------------
src/backend/commands/copy.c | 110 +++++++++++++++++----------------
src/backend/commands/explain.c | 15 ++++-
src/backend/executor/execMain.c | 45 ++++++++++----
src/backend/executor/execUtils.c | 5 ++
src/backend/executor/nodeModifyTable.c | 1 +
src/include/executor/executor.h | 1 +
src/include/nodes/execnodes.h | 3 +
7 files changed, 115 insertions(+), 65 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: Fix interaction of triggers, partitioning, and EXPLAIN ANALYZE.
In-Reply-To: <E1diklZ-0002ai-L2@gemulon.postgresql.org>
References: <E1diklZ-0002ai-L2@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