From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix interaction of triggers, partitioning, and EXPLAIN ANALYZE. |
Date: | 2017-08-18 17:09:01 |
Message-ID: | E1diklZ-0002ai-L2@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2017-08-19 03:05:31 | pgsql: Fix creation of ICU comments for keyword variants |
Previous Message | Tom Lane | 2017-08-17 22:36:28 | pgsql: Temporarily revert test case from a2b70c89ca1a5fcf6181d3c777d82e |