pgsql: pg_upgrade: Make format strings consistent

Started by Peter Eisentraut11 months ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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_15_STABLE

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

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