forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit475e9da
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 parentf7f82cf commit475e9da
2 files changed
+34
-20
lines changedLines changed: 15 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
271 | 271 |
| |
272 | 272 |
| |
273 | 273 |
| |
274 |
| - | |
275 |
| - | |
276 |
| - | |
277 |
| - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
278 | 287 |
| |
279 |
| - | |
| 288 | + | |
| 289 | + | |
280 | 290 |
| |
281 | 291 |
| |
282 | 292 |
| |
|
Lines changed: 19 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
| 78 | + | |
| 79 | + | |
87 | 80 |
| |
88 |
| - | |
| 81 | + | |
89 | 82 |
| |
90 |
| - | |
91 |
| - | |
92 | 83 |
| |
| 84 | + | |
93 | 85 |
| |
94 |
| - | |
| 86 | + | |
95 | 87 |
| |
96 |
| - | |
| 88 | + | |
97 | 89 |
| |
98 |
| - | |
| 90 | + | |
99 | 91 |
| |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
100 | 104 |
| |
101 | 105 |
| |
102 | 106 |
| |
|
0 commit comments
Comments
(0)