forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitabe075d
committed
Fix tablespace creation WAL replay to work on Windows.
The code segment that removes the old symlink (if present) wasn't cluedinto the fact that on Windows, symlinks are junction points which haveto be removed with rmdir().Backpatch to 9.0, where the failing code was introduced.MauMau, reviewed by Muhammad Asif Naeem and Amit Kapila1 parentb203c57 commitabe075d
1 file changed
+25
-8
lines changedLines changed: 25 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
559 | 559 |
| |
560 | 560 |
| |
561 | 561 |
| |
| 562 | + | |
562 | 563 |
| |
563 | 564 |
| |
564 | 565 |
| |
| |||
585 | 586 |
| |
586 | 587 |
| |
587 | 588 |
| |
588 |
| - | |
589 |
| - | |
590 | 589 |
| |
591 | 590 |
| |
592 | 591 |
| |
| |||
620 | 619 |
| |
621 | 620 |
| |
622 | 621 |
| |
623 |
| - | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
624 | 630 |
| |
625 | 631 |
| |
626 |
| - | |
627 |
| - | |
628 |
| - | |
629 |
| - | |
630 |
| - | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
631 | 648 |
| |
632 | 649 |
| |
633 | 650 |
| |
|
0 commit comments
Comments
(0)