- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitba58266
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 parent61838d2 commitba58266
2 files changed
+34
-20
lines changedLines changed: 15 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
276 | 276 |
| |
277 | 277 |
| |
278 | 278 |
| |
279 |
| - | |
280 |
| - | |
281 |
| - | |
282 |
| - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
283 | 292 |
| |
284 |
| - | |
| 293 | + | |
| 294 | + | |
285 | 295 |
| |
286 | 296 |
| |
287 | 297 |
| |
|
Lines changed: 19 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
| 69 | + | |
| 70 | + | |
78 | 71 |
| |
79 |
| - | |
| 72 | + | |
80 | 73 |
| |
81 |
| - | |
82 |
| - | |
83 | 74 |
| |
| 75 | + | |
84 | 76 |
| |
85 |
| - | |
| 77 | + | |
86 | 78 |
| |
87 |
| - | |
| 79 | + | |
88 | 80 |
| |
89 |
| - | |
| 81 | + | |
90 | 82 |
| |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
91 | 95 |
| |
92 | 96 |
| |
93 | 97 |
| |
|
0 commit comments
Comments
(0)