- Notifications
You must be signed in to change notification settings - Fork5
Commit506ef1d
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 parent32e7e7f commit506ef1d
1 file changed
+24
-13
lines changedLines changed: 24 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
189 | 189 |
| |
190 | 190 |
| |
191 | 191 |
| |
192 |
| - | |
193 | 192 |
| |
194 | 193 |
| |
195 | 194 |
| |
| |||
276 | 275 |
| |
277 | 276 |
| |
278 | 277 |
| |
279 |
| - | |
| 278 | + | |
280 | 279 |
| |
281 | 280 |
| |
282 | 281 |
| |
| |||
3167 | 3166 |
| |
3168 | 3167 |
| |
3169 | 3168 |
| |
| 3169 | + | |
3170 | 3170 |
| |
3171 |
| - | |
| 3171 | + | |
3172 | 3172 |
| |
3173 |
| - | |
| 3173 | + | |
| 3174 | + | |
| 3175 | + | |
| 3176 | + | |
| 3177 | + | |
3174 | 3178 |
| |
3175 | 3179 |
| |
3176 |
| - | |
3177 | 3180 |
| |
3178 | 3181 |
| |
3179 | 3182 |
| |
| |||
3246 | 3249 |
| |
3247 | 3250 |
| |
3248 | 3251 |
| |
3249 |
| - | |
3250 |
| - | |
3251 |
| - | |
3252 | 3252 |
| |
3253 |
| - | |
| 3253 | + | |
3254 | 3254 |
| |
3255 | 3255 |
| |
3256 |
| - | |
| 3256 | + | |
3257 | 3257 |
| |
3258 | 3258 |
| |
3259 | 3259 |
| |
3260 | 3260 |
| |
3261 | 3261 |
| |
3262 | 3262 |
| |
3263 |
| - | |
3264 | 3263 |
| |
| 3264 | + | |
| 3265 | + | |
| 3266 | + | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
3265 | 3276 |
| |
3266 | 3277 |
| |
3267 | 3278 |
| |
| |||
3292 | 3303 |
| |
3293 | 3304 |
| |
3294 | 3305 |
| |
3295 |
| - | |
| 3306 | + | |
3296 | 3307 |
| |
3297 |
| - | |
| 3308 | + | |
3298 | 3309 |
| |
3299 | 3310 |
| |
3300 | 3311 |
| |
|
0 commit comments
Comments
(0)