forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit56455eb
committed
Skip invalid database pg_upgrade test on obsolete servers
When testing pg_upgrade against an old server, ignore failures on thecheck to upgrade invalid databases. This is necessary because oldservers don't know to raise the appropriate error of the database beinginvalid.This change causes no reduction in coverage, because such old versionsdon't know to mark databases invalid when a drop is interrupted; buttesting against such old servers is useful in some circumstances.Backpatch to 16, where it cherry-picks with minimal conflicts.On 16, perltidy 20230309 chooses to change an unrelated line. I let itdo that because that's the version we document as preferred for thatbranch, even though it would make other changes to many other files inthe tree.Discussion:https://postgr.es/m/202404181539.lh42llaesnv3@alvherre.pgsql1 parent2ea4b29 commit56455eb
1 file changed
+25
-13
lines changedLines changed: 25 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
404 | 404 |
| |
405 | 405 |
| |
406 | 406 |
| |
407 |
| - | |
408 |
| - | |
409 |
| - | |
410 |
| - | |
411 |
| - | |
412 |
| - | |
413 |
| - | |
414 |
| - | |
415 |
| - | |
416 |
| - | |
417 |
| - | |
418 |
| - | |
419 |
| - | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
420 | 432 |
| |
421 | 433 |
| |
422 | 434 |
| |
|
0 commit comments
Comments
(0)