forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit164d633
committed
Fix bogus logic for checking data dirs' versions within pg_upgrade.
Commit9be95ef failed to cure all of the redundancy here: we wereactually calling get_major_server_version() three times for eachof the old and new data directories. While that's not enormouslyexpensive, it's still sloppy.A. AkentevaDiscussion:https://postgr.es/m/f9266a85d918a3cf3a386b5148aee666@postgrespro.ru1 parented9b360 commit164d633
2 files changed
+5
-6
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
234 | 234 |
| |
235 | 235 |
| |
236 | 236 |
| |
237 |
| - | |
238 |
| - | |
239 |
| - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
240 | 240 |
| |
241 | 241 |
| |
242 | 242 |
| |
|
Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
331 | 331 |
| |
332 | 332 |
| |
333 | 333 |
| |
334 |
| - | |
335 |
| - | |
336 |
| - | |
| 334 | + | |
| 335 | + | |
337 | 336 |
| |
338 | 337 |
| |
339 | 338 |
| |
|
0 commit comments
Comments
(0)