pg_upgrade: Make format strings consistent

Peter Eisentraut <peter@eisentraut.org>

Commit: ed2bb0cdda7764a95d6e1e4019417a7857b6f002
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-08-07T22:29:31Z
Releases: 14.19
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