pg_upgrade: Make format strings consistent

Peter Eisentraut <peter@eisentraut.org>

Commit: a8b31b160bf643a4a7f590a4375d5d268152bda6
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-08-07T22:28:58Z
Releases: 15.14
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

Files

PathChange+/−
src/bin/pg_upgrade/check.c modified +1 −1