forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit452064f
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 parent9486d02 commit452064f
1 file changed
+25
-13
lines changedLines changed: 25 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
188 | 188 |
| |
189 | 189 |
| |
190 | 190 |
| |
191 |
| - | |
192 | 191 |
| |
193 | 192 |
| |
194 | 193 |
| |
| |||
270 | 269 |
| |
271 | 270 |
| |
272 | 271 |
| |
273 |
| - | |
| 272 | + | |
274 | 273 |
| |
275 | 274 |
| |
276 | 275 |
| |
| |||
3250 | 3249 |
| |
3251 | 3250 |
| |
3252 | 3251 |
| |
| 3252 | + | |
3253 | 3253 |
| |
3254 |
| - | |
| 3254 | + | |
3255 | 3255 |
| |
3256 |
| - | |
| 3256 | + | |
| 3257 | + | |
| 3258 | + | |
| 3259 | + | |
| 3260 | + | |
| 3261 | + | |
3257 | 3262 |
| |
3258 | 3263 |
| |
3259 |
| - | |
3260 | 3264 |
| |
3261 | 3265 |
| |
3262 | 3266 |
| |
| |||
3329 | 3333 |
| |
3330 | 3334 |
| |
3331 | 3335 |
| |
3332 |
| - | |
3333 |
| - | |
3334 |
| - | |
3335 |
| - | |
3336 | 3336 |
| |
3337 |
| - | |
| 3337 | + | |
3338 | 3338 |
| |
3339 | 3339 |
| |
3340 |
| - | |
| 3340 | + | |
3341 | 3341 |
| |
3342 | 3342 |
| |
3343 | 3343 |
| |
3344 | 3344 |
| |
3345 | 3345 |
| |
3346 | 3346 |
| |
3347 | 3347 |
| |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
3348 | 3360 |
| |
3349 | 3361 |
| |
3350 | 3362 |
| |
| |||
3375 | 3387 |
| |
3376 | 3388 |
| |
3377 | 3389 |
| |
3378 |
| - | |
| 3390 | + | |
3379 | 3391 |
| |
3380 |
| - | |
| 3392 | + | |
3381 | 3393 |
| |
3382 | 3394 |
| |
3383 | 3395 |
| |
|
0 commit comments
Comments
(0)