| From: | Fujii Masao <fujii(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: pg_walsummary: Fix --quiet to suppress limit block output |
| Date: | 2026-10-07 06:03:22 |
| Message-ID: | E1xEKkM-00000000eRf-1fXM@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
pg_walsummary: Fix --quiet to suppress limit block output
Previously, pg_walsummary printed limit block lines even with --quiet
because the output was generated before checking the quiet flag.
Fix this by moving the output after the quiet check.
Backpatch to v17, where pg_walsummary was introduced.
Author: Koshi Shibagaki <shibagaki(dot)koshi(at)fujitsu(dot)com>
Reviewed-by: Hayato Kuroda <kuroda(dot)hayato(at)fujitsu(dot)com>
Reviewed-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Discussion: https://postgr.es/m/TY5PR01MB18445D1AF87F64E9835BAD0B0FA962@TY5PR01MB18445.jpnprd01.prod.outlook.com
Backpatch-through: 17
Branch
------
REL_17_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/d843a801b0f375349b18cf07f1bbe0169d699be9
Modified Files
--------------
src/bin/pg_walsummary/pg_walsummary.c | 12 ++++++------
src/bin/pg_walsummary/t/002_blocks.pl | 12 ++++++++++++
2 files changed, 18 insertions(+), 6 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2026-10-07 06:31:05 | Re: pgsql: Optimize tuple deformation |
| Previous Message | Fujii Masao | 2026-10-07 06:02:57 | pgsql: pg_walsummary: Fix --quiet to suppress limit block output |