pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make EXPLAIN MERGE output format more compact
Date: Wed, 18 May 2022 16:34:56 +0000
Message-ID: <E1nrMdU-001LMM-G3@gemulon.postgresql.org> (raw)

Make EXPLAIN MERGE output format more compact

We can use a single line to print all tuple counts that MERGE processed,
for conciseness, and elide those that are zeroes.  Non-text formats
report all numbers, as is typical.

Per comment from Justin Pryzby <pryzby@telsasoft.com>

Discussion: https://postgr.es/m/20220511163350.GL19626@telsasoft.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/598ac10be1c20961baac44db773eb826f788fdfa

Modified Files
--------------
src/backend/commands/explain.c      | 25 +++++++++++++++++++++----
src/test/regress/expected/merge.out | 35 ++++++++++-------------------------
2 files changed, 31 insertions(+), 29 deletions(-)



Message-ID: <E1nrMdU-001LMM-G3@gemulon.postgresql.org>
Permalink:  ../E1nrMdU-001LMM-G3@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nrMdU-001LMM-G3@gemulon.postgresql.org

 · 

reply

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: Make EXPLAIN MERGE output format more compact
  In-Reply-To: <E1nrMdU-001LMM-G3@gemulon.postgresql.org>
  References: <E1nrMdU-001LMM-G3@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