From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix EXPLAIN MERGE output when no tuples are processed
Date: Wed, 18 May 2022 19:21:48 +0000
Message-ID: <E1nrPEx-001MoT-RJ@gemulon.postgresql.org> (raw)
Fix EXPLAIN MERGE output when no tuples are processed
An 'else' clause was misplaced in commit 598ac10be1c2, making zero-rows
output look a bit silly. Add a test case for it.
Pointed out by Tom Lane.
Discussion: https://postgr.es/m/21030.1652893083@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/12e423e21d8ef47d95a099c12f625f6d191eaf92
Modified Files
--------------
src/backend/commands/explain.c | 27 +++++++++++++++------------
src/test/regress/expected/merge.out | 20 +++++++++++++++++++-
src/test/regress/sql/merge.sql | 8 +++++++-
3 files changed, 41 insertions(+), 14 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: alvherre@alvh.no-ip.org
Subject: Re: pgsql: Fix EXPLAIN MERGE output when no tuples are processed
In-Reply-To: <E1nrPEx-001MoT-RJ@gemulon.postgresql.org>
References: <E1nrPEx-001MoT-RJ@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