From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Avoid listing the same ResultRelInfo in more than one EState lis
Date: Thu, 08 Feb 2018 19:30:59 +0000
Message-ID: <E1ejruN-0003kA-Ro@gemulon.postgresql.org> (raw)
Avoid listing the same ResultRelInfo in more than one EState list.
Doing so causes EXPLAIN ANALYZE to show trigger statistics multiple
times. Commit 2f178441044be430f6b4d626e4dae68a9a6f6cec seems to
be to blame for this.
Amit Langote, revieed by Amit Khandekar, Etsuro Fujita, and me.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e44dd84325c277fd031b9ef486c51a0946c7d3a0
Modified Files
--------------
src/backend/commands/explain.c | 11 +++++++----
src/backend/executor/execMain.c | 7 +++++--
src/backend/executor/execPartition.c | 12 +++++++++---
src/backend/executor/execUtils.c | 2 +-
src/include/nodes/execnodes.h | 7 +++++--
5 files changed, 27 insertions(+), 12 deletions(-)
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: Avoid listing the same ResultRelInfo in more than one EState lis
In-Reply-To: <E1ejruN-0003kA-Ro@gemulon.postgresql.org>
References: <E1ejruN-0003kA-Ro@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