pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: pg_walsummary: Fix --quiet to suppress limit block output
4+ messages / 1 participants
[nested] [flat]

* pgsql: pg_walsummary: Fix --quiet to suppress limit block output
@ 2026-10-07 06:02  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Fujii Masao @ 2026-10-07 06:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.koshi@fujitsu.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/TY5PR01MB18445D1AF87F64E9835BAD0B0FA962@TY5PR01MB18445.jpnprd01.prod.outlook.com
Backpatch-through: 17

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2a8ce0f684a4aa3da8f8c6f2d255048d545e96ff

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(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: pg_walsummary: Fix --quiet to suppress limit block output
@ 2026-10-07 06:02  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Fujii Masao @ 2026-10-07 06:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.koshi@fujitsu.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/TY5PR01MB18445D1AF87F64E9835BAD0B0FA962@TY5PR01MB18445.jpnprd01.prod.outlook.com
Backpatch-through: 17

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bbddc9ac7d96e18dc36f46a074570c1bebe085b4

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(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: pg_walsummary: Fix --quiet to suppress limit block output
@ 2026-10-07 06:02  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Fujii Masao @ 2026-10-07 06:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.koshi@fujitsu.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/TY5PR01MB18445D1AF87F64E9835BAD0B0FA962@TY5PR01MB18445.jpnprd01.prod.outlook.com
Backpatch-through: 17

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1370a7832a2ab7bda5625fd1f0448808b534cd50

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(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: pg_walsummary: Fix --quiet to suppress limit block output
@ 2026-10-07 06:03  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Fujii Masao @ 2026-10-07 06:03 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.koshi@fujitsu.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.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(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2026-10-07 06:03 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 06:02 pgsql: pg_walsummary: Fix --quiet to suppress limit block output Fujii Masao <fujii@postgresql.org>
2026-10-07 06:02 pgsql: pg_walsummary: Fix --quiet to suppress limit block output Fujii Masao <fujii@postgresql.org>
2026-10-07 06:02 pgsql: pg_walsummary: Fix --quiet to suppress limit block output Fujii Masao <fujii@postgresql.org>
2026-10-07 06:03 pgsql: pg_walsummary: Fix --quiet to suppress limit block output Fujii Masao <fujii@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox