- Notifications
You must be signed in to change notification settings - Fork5
Commit0381fef
committed
Fix pg_rewind's handling of top-level symlinks.
The previous coding suffered a null-pointer dereference if it found anysymlink at the top level of $PGDATA. Fix that, and teach it to recurseinto a symlink for pg_xlog, but not anything else.Per note from Abhijit Menon-Sen.1 parente5f1a4f commit0381fef
1 file changed
+7
-2
lines changedLines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 |
| |
46 | 49 |
| |
47 | 50 |
| |
| |||
127 | 130 |
| |
128 | 131 |
| |
129 | 132 |
| |
130 |
| - | |
| 133 | + | |
| 134 | + | |
131 | 135 |
| |
132 |
| - | |
| 136 | + | |
| 137 | + | |
133 | 138 |
| |
134 | 139 |
| |
135 | 140 |
| |
|
0 commit comments
Comments
(0)