forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2247a1e
committed
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, ratherthan just the data directory path.Also, commit4109bb5 added the cause of the failure to the "couldnot open" error message, and improved quoting. This patch backpatchesthe "could not open" cause to PG 12, where it was first widely used, andbackpatches the quoting fix in that patch to all supported releases.Reported-by: Tom LaneDiscussion:https://postgr.es/m/87pne2w98h.fsf@wibble.ilmari.orgAuthor: Dagfinn Ilmari MannsåkerBackpatch-through: 9.51 parent4545282 commit2247a1e
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
171 |
| - | |
| 171 | + | |
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
|
0 commit comments
Comments
(0)