pgsql: Switch EXPLAIN to unaligned output for json/xml/yaml - Mailing list pgsql-committers

From Tomas Vondra
Subject pgsql: Switch EXPLAIN to unaligned output for json/xml/yaml
Date
Msg-id E1wACq2-003RqM-2R@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Switch EXPLAIN to unaligned output for json/xml/yaml

Use unaligned output for multiple EXPLAIN queries using non-text format
in regression tests. With aligned output adding/removing explain fields
can be very disruptive, as it often modifies the whole block because of
padding. Unaligned output does not have this issue.

Author: Tomas Vondra <tomas@vondra.me>
Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Lukas Fittl <lukas@fittl.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/flat/a177a6dd-240b-455a-8f25-aca0b1c08c6e%40vondra.me

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/10d5a12a93150deb15f600492bbd4e46a2212b3b

Modified Files
--------------
src/test/regress/expected/explain.out | 296 +++++++++++++++++-----------------
src/test/regress/sql/explain.sql      |   5 +-
2 files changed, 150 insertions(+), 151 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix WITHOUT OVERLAPS' interaction with domains.
Next
From: Tomas Vondra
Date:
Subject: pgsql: Add EXPLAIN (IO) infrastructure with BitmapHeapScan support