pgsql: Fix translation of pg_controldata and pg_resetwal's NextOID outp

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix translation of pg_controldata and pg_resetwal's NextOID outp
Date: 2026-09-14 22:53:59
Message-ID: E1x6FYl-00000000Lko-2Sgq@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix translation of pg_controldata and pg_resetwal's NextOID output

xgettext does not recognize OID8_FORMAT and therefore extracts an
incomplete message. This switches to PRIu64 instead.

Kyotaro Horiguchi has noticed one problem in pg_controldata, and I have
spotted the extra two ones in pg_resetwal after more review.

Oversight in cb298616463d.

Author: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Author: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/20260914.124645.2220219320843846932.horikyota.ntt@gmail.com

Branch
------
master

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

Modified Files
--------------
src/bin/pg_controldata/pg_controldata.c | 2 +-
src/bin/pg_resetwal/pg_resetwal.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-09-14 23:39:15 pgsql: Add support for toast_value_type=oid8
Previous Message Daniel Gustafsson 2026-09-14 19:42:07 pgsql: Fix ignored return value in test code