forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1f0c4fa
committed
pg_basebackup: Fix cross-platform tablespace relocation.
Specifically, when pg_basebackup is invoked with -Tx=y, don't errorout if x could plausibly be an absolute path either on Windows or onnon-Windows systems. We don't know whether the remote system isrunning the same OS as the local system, so it's not appropriate toassume that our local rule about absolute pathnames is the same asthe rule on the remote system.Patch by me, reviewed by Tom Lane, Andrew Dunstan, andDavinder Singh.Discussion:http://postgr.es/m/CA+TgmoY+jC3YiskomvYKDPK3FbrmsDU7_8+wMHt02HOdJeRb0g@mail.gmail.com1 parentce20f8b commit1f0c4fa
2 files changed
+34
-20
lines changedLines changed: 15 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
340 | 340 |
| |
341 | 341 |
| |
342 | 342 |
| |
343 |
| - | |
344 |
| - | |
345 |
| - | |
346 |
| - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
347 | 356 |
| |
348 |
| - | |
| 357 | + | |
| 358 | + | |
349 | 359 |
| |
350 | 360 |
| |
351 | 361 |
| |
|
Lines changed: 19 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
| 81 | + | |
| 82 | + | |
90 | 83 |
| |
91 |
| - | |
| 84 | + | |
92 | 85 |
| |
93 |
| - | |
94 |
| - | |
95 | 86 |
| |
| 87 | + | |
96 | 88 |
| |
97 |
| - | |
| 89 | + | |
98 | 90 |
| |
99 |
| - | |
| 91 | + | |
100 | 92 |
| |
101 |
| - | |
| 93 | + | |
102 | 94 |
| |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 |
| |
104 | 108 |
| |
105 | 109 |
| |
|
0 commit comments
Comments
(0)