forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6802942
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 parent375aa3f commit6802942
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
168 |
| - | |
| 168 | + | |
169 | 169 |
| |
170 | 170 |
| |
171 | 171 |
| |
172 |
| - | |
| 172 | + | |
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
|
0 commit comments
Comments
(0)