]> 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:29:31 +0000 (00:29 +0200)
commited2bb0cdda7764a95d6e1e4019417a7857b6f002
tree4a29c5e1a4652c6b52bdb7ad40437af887b80cb4
parentf9f6595e31c41cdc958b828f04c509acf777bec6
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