Make EXPLAIN MERGE output format more compact

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 598ac10be1c20961baac44db773eb826f788fdfa
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2022-05-18T16:33:04Z
Releases: 15.0
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

Files

PathChange+/−
src/backend/commands/explain.c modified +21 −4
src/test/regress/expected/merge.out modified +10 −25

Discussion