]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pg_upgrade: Make format strings consistent
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 7 Aug 2025 22:27:14 +0000 (00:27 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 7 Aug 2025 22:28:58 +0000 (00:28 +0200)
commita8b31b160bf643a4a7f590a4375d5d268152bda6
tree935ebd6267658f465f68d4fbf4e2b82100b41698
parent22d7833505a50840d0c2f45030408ce827452dc4
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
src/bin/pg_upgrade/check.c