aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2020-03-19 15:20:55 -0400
committerBruce Momjian <bruce@momjian.us>2020-03-19 15:20:55 -0400
commit6802942fa2a638c6f5614e56546af276308cf4bd (patch)
treebfd7077a8dbf13e99c2adc62e10e1b337c264296 /src/backend/access/gist/gistxlog.c
parent375aa3fc2cb21132db6790305b433d81061367e2 (diff)
downloadpostgresql-6802942fa2a638c6f5614e56546af276308cf4bd.tar.gz
postgresql-6802942fa2a638c6f5614e56546af276308cf4bd.zip
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
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions