forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitaa06259
committed
Fix unobvious interaction between -X switch and subdirectory creation.
Turns out the only reason initdb -X worked is that pg_mkdir_p won'twhine if you point it at something that's a symlink to a directory.Otherwise, the attempt to create pg_xlog/ just like all the othersubdirectories would have failed. Let's be a little more explicitabout what's happening. Oversight in my patch for bug #13853(mea culpa for not testing -X ...)1 parent33b0512 commitaa06259
1 file changed
+24
-13
lines changedLines changed: 24 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
194 |
| - | |
195 | 194 |
| |
196 | 195 |
| |
197 | 196 |
| |
| |||
278 | 277 |
| |
279 | 278 |
| |
280 | 279 |
| |
281 |
| - | |
| 280 | + | |
282 | 281 |
| |
283 | 282 |
| |
284 | 283 |
| |
| |||
3329 | 3328 |
| |
3330 | 3329 |
| |
3331 | 3330 |
| |
| 3331 | + | |
3332 | 3332 |
| |
3333 |
| - | |
| 3333 | + | |
3334 | 3334 |
| |
3335 |
| - | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
| 3339 | + | |
3336 | 3340 |
| |
3337 | 3341 |
| |
3338 |
| - | |
3339 | 3342 |
| |
3340 | 3343 |
| |
3341 | 3344 |
| |
| |||
3408 | 3411 |
| |
3409 | 3412 |
| |
3410 | 3413 |
| |
3411 |
| - | |
3412 |
| - | |
3413 |
| - | |
3414 | 3414 |
| |
3415 |
| - | |
| 3415 | + | |
3416 | 3416 |
| |
3417 | 3417 |
| |
3418 |
| - | |
| 3418 | + | |
3419 | 3419 |
| |
3420 | 3420 |
| |
3421 | 3421 |
| |
3422 | 3422 |
| |
3423 | 3423 |
| |
3424 | 3424 |
| |
3425 |
| - | |
3426 | 3425 |
| |
| 3426 | + | |
| 3427 | + | |
| 3428 | + | |
| 3429 | + | |
| 3430 | + | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
| 3434 | + | |
| 3435 | + | |
| 3436 | + | |
| 3437 | + | |
3427 | 3438 |
| |
3428 | 3439 |
| |
3429 | 3440 |
| |
| |||
3454 | 3465 |
| |
3455 | 3466 |
| |
3456 | 3467 |
| |
3457 |
| - | |
| 3468 | + | |
3458 | 3469 |
| |
3459 |
| - | |
| 3470 | + | |
3460 | 3471 |
| |
3461 | 3472 |
| |
3462 | 3473 |
| |
|
0 commit comments
Comments
(0)