pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_upgrade: Make format strings consistent
Date: Thu, 07 Aug 2025 22:33:57 +0000
Message-ID: <E1uk9BM-001IQY-31@gemulon.postgresql.org> (raw)

pg_upgrade: Make format strings consistent

The backport of commit f295494d338 introduced a format string using
%m.  This is not wrong, since those have been supported since commit
d6c55de1f99a, but only commit 2c8118ee5d9 later introduced their use
in this file.  This use introduces a gratuitously different
translatable string and also makes it inconsistent with the rest of
the file.  To avoid that, switch this back to the old-style strerror()
route in the appropriate backbranches

Branch
------
REL_13_STABLE

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

Modified Files
--------------
src/bin/pg_upgrade/check.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1uk9BM-001IQY-31@gemulon.postgresql.org>
Permalink:  ../E1uk9BM-001IQY-31@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uk9BM-001IQY-31@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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_upgrade: Make format strings consistent
  In-Reply-To: <E1uk9BM-001IQY-31@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox