forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita4127b7
committed
Allow DROP TABLESPACE to succeed (with a warning) if the pg_tblspc symlink
doesn't exist. This allows DROP to be used to clean out the pg_tablespacecatalog entry in a situation where a previous DROP attempt failed beforecommitting but after having removed the directories and symlink.Per report from William Garrison. Even though his test case depends on anunrelated bug in PreventTransactionChain, it's certainly possible for thissituation to arise due to other problems, eg a system crash at just theright time.1 parent832b6d0 commita4127b7
1 file changed
+15
-2
lines changedLines changed: 15 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
523 | 523 |
| |
524 | 524 |
| |
525 | 525 |
| |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
526 | 534 |
| |
527 | 535 |
| |
528 | 536 |
| |
529 | 537 |
| |
530 |
| - | |
| 538 | + | |
531 | 539 |
| |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
532 | 545 |
| |
533 | 546 |
| |
534 | 547 |
| |
|
0 commit comments
Comments
(0)