pg_upgrade: Make format strings consistent

Peter Eisentraut <peter@eisentraut.org>

Commit: 06f44481646a669b43a19a2c501a164459d194f1
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-08-07T22:27:14Z
Releases: 16.10
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