forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8f15f74
committed
Be more conservative about removing tablespace "symlinks".
Don't apply rmtree(), which will gleefully remove an entire subtree,and don't even apply unlink() unless it's symlink or a directory,the only things that we expect to find.Amit Kapila, with minor tweaks by me, per extensive discussionsinvolving Andrew Dunstan, Fujii Masao, and Heikki Linnakangas,at least some of whom also reviewed the code.1 parentc66bc72 commit8f15f74
File tree
3 files changed
+69
-45
lines changed- src
- backend
- access/transam
- commands
- include/commands
3 files changed
+69
-45
lines changedLines changed: 3 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
| |||
6074 | 6075 |
| |
6075 | 6076 |
| |
6076 | 6077 |
| |
6077 |
| - | |
6078 | 6078 |
| |
6079 | 6079 |
| |
6080 | 6080 |
| |
| |||
6085 | 6085 |
| |
6086 | 6086 |
| |
6087 | 6087 |
| |
6088 |
| - | |
6089 |
| - | |
6090 |
| - | |
6091 |
| - | |
| 6088 | + | |
6092 | 6089 |
| |
6093 |
| - | |
6094 |
| - | |
6095 |
| - | |
6096 |
| - | |
6097 |
| - | |
6098 |
| - | |
6099 |
| - | |
6100 |
| - | |
6101 |
| - | |
6102 |
| - | |
6103 |
| - | |
6104 |
| - | |
6105 |
| - | |
6106 |
| - | |
6107 |
| - | |
6108 |
| - | |
| 6090 | + | |
6109 | 6091 |
| |
6110 | 6092 |
| |
6111 | 6093 |
| |
|
Lines changed: 65 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
627 | 627 |
| |
628 | 628 |
| |
629 | 629 |
| |
630 |
| - | |
631 |
| - | |
632 |
| - | |
633 |
| - | |
634 |
| - | |
635 | 630 |
| |
636 | 631 |
| |
637 |
| - | |
638 |
| - | |
639 |
| - | |
640 |
| - | |
641 |
| - | |
642 |
| - | |
643 |
| - | |
644 |
| - | |
645 |
| - | |
646 |
| - | |
647 |
| - | |
648 |
| - | |
649 |
| - | |
650 |
| - | |
651 |
| - | |
652 |
| - | |
653 |
| - | |
654 |
| - | |
| 632 | + | |
655 | 633 |
| |
656 | 634 |
| |
657 | 635 |
| |
| |||
802 | 780 |
| |
803 | 781 |
| |
804 | 782 |
| |
805 |
| - | |
| 783 | + | |
| 784 | + | |
806 | 785 |
| |
807 | 786 |
| |
808 | 787 |
| |
| |||
814 | 793 |
| |
815 | 794 |
| |
816 | 795 |
| |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
817 | 805 |
| |
818 | 806 |
| |
819 | 807 |
| |
| |||
848 | 836 |
| |
849 | 837 |
| |
850 | 838 |
| |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
851 | 892 |
| |
852 | 893 |
| |
853 | 894 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| 59 | + | |
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
|
0 commit comments
Comments
(0)