agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Switch EXPLAIN to unaligned output for json/xml/yaml
Date: Tue, 07 Apr 2026 20:15:55 +0000
Message-ID: <E1wACq2-003RqM-2R@gemulon.postgresql.org> (raw)
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(-)
Message-ID: <E1wACq2-003RqM-2R@gemulon.postgresql.org>
Permalink: ../E1wACq2-003RqM-2R@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wACq2-003RqM-2R@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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: tomas.vondra@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Switch EXPLAIN to unaligned output for json/xml/yaml
In-Reply-To: <E1wACq2-003RqM-2R@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox