postgresql/src/bin
Bruce Momjian 2c9864e516 pg_upgrade: make get_major_server_version() err msg consistent
This patch fixes the error message in get_major_server_version() to be
"could not parse version file", and uses the full file path name, rather
than just the data directory path.

Also, commit 4109bb5de4 added the cause of the failure to the  "could
not open" error message, and improved quoting.  This patch backpatches
the "could not open" cause to PG 12, where it was first widely used, and
backpatches the quoting fix in that patch to all supported releases.

Reported-by: Tom Lane

Discussion: https://postgr.es/m/87pne2w98h.fsf@wibble.ilmari.org

Author: Dagfinn Ilmari Mannsåker

Backpatch-through: 9.5
2020-03-19 15:20:55 -04:00
..
initdb Translation updates 2019-11-11 10:23:30 +01:00
pg_archivecleanup Fix new warnings from GCC 7 2017-05-16 08:43:55 -04:00
pg_basebackup Translation updates 2019-11-11 10:23:30 +01:00
pg_config Translation updates 2019-11-11 10:23:30 +01:00
pg_controldata Translation updates 2019-11-11 10:23:30 +01:00
pg_ctl Translation updates 2020-02-10 12:55:41 +01:00
pg_dump Fix pg_dump/pg_restore to restore event triggers later. 2020-03-09 14:58:11 -04:00
pg_resetxlog Translation updates 2019-11-11 10:23:30 +01:00
pg_rewind Translation updates 2019-11-11 10:23:30 +01:00
pg_test_fsync Avoid depending on non-POSIX behavior of fcntl(2). 2017-04-21 15:55:56 -04:00
pg_test_timing Move pg_test_timing from contrib/ to src/bin/ 2015-04-20 21:30:12 -04:00
pg_upgrade pg_upgrade: make get_major_server_version() err msg consistent 2020-03-19 15:20:55 -04:00
pg_xlogdump pg_waldump: Fix --bkp-details to not issue spurious newlines for FPWs. 2019-10-29 22:55:19 -07:00
pgbench Fix compiler warning 2019-08-12 21:24:07 +02:00
pgevent Update copyright for 2015 2015-01-06 11:43:47 -05:00
psql Translation updates 2019-11-11 10:23:30 +01:00
scripts createdb: Fix quoting of --encoding, --lc-ctype and --lc-collate 2020-02-27 11:21:28 +09:00
Makefile Move pg_xlogdump from contrib/ to src/bin/ 2015-04-21 19:03:49 -04:00