| From: | Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Switch EXPLAIN to unaligned output for json/xml/yaml |
| Date: | 2026-04-07 20:15:55 |
| Message-ID: | E1wACq2-003RqM-2R@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)vondra(dot)me>
Reviewed-by: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Reviewed-by: Lukas Fittl <lukas(at)fittl(dot)com>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tomas Vondra | 2026-04-07 20:34:40 | pgsql: Add EXPLAIN (IO) infrastructure with BitmapHeapScan support |
| Previous Message | Tom Lane | 2026-04-07 18:45:55 | pgsql: Fix WITHOUT OVERLAPS' interaction with domains. |