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:34 +0000 (00:29 +0200)
commitde7fd83cda925f59a078890d177cb32cbfb0a965
tree2bfc357aa9100bbbfb51e684028c0f3229617291
parent7406a7d82c76234f1c6a4f56df2a52d22549767c
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