- Notifications
You must be signed in to change notification settings - Fork28
Commitb41fb65
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 parentfa838b5 commitb41fb65
1 file changed
+24
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
197 | 196 | | |
198 | 197 | | |
199 | 198 | | |
| |||
280 | 279 | | |
281 | 280 | | |
282 | 281 | | |
283 | | - | |
| 282 | + | |
284 | 283 | | |
285 | 284 | | |
286 | 285 | | |
| |||
2948 | 2947 | | |
2949 | 2948 | | |
2950 | 2949 | | |
| 2950 | + | |
2951 | 2951 | | |
2952 | | - | |
| 2952 | + | |
2953 | 2953 | | |
2954 | | - | |
| 2954 | + | |
| 2955 | + | |
| 2956 | + | |
| 2957 | + | |
| 2958 | + | |
2955 | 2959 | | |
2956 | 2960 | | |
2957 | | - | |
2958 | 2961 | | |
2959 | 2962 | | |
2960 | 2963 | | |
| |||
3027 | 3030 | | |
3028 | 3031 | | |
3029 | 3032 | | |
3030 | | - | |
3031 | | - | |
3032 | | - | |
3033 | 3033 | | |
3034 | | - | |
| 3034 | + | |
3035 | 3035 | | |
3036 | 3036 | | |
3037 | | - | |
| 3037 | + | |
3038 | 3038 | | |
3039 | 3039 | | |
3040 | 3040 | | |
3041 | 3041 | | |
3042 | 3042 | | |
3043 | 3043 | | |
3044 | | - | |
3045 | 3044 | | |
| 3045 | + | |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
| 3050 | + | |
| 3051 | + | |
| 3052 | + | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
| 3056 | + | |
3046 | 3057 | | |
3047 | 3058 | | |
3048 | 3059 | | |
| |||
3074 | 3085 | | |
3075 | 3086 | | |
3076 | 3087 | | |
3077 | | - | |
| 3088 | + | |
3078 | 3089 | | |
3079 | | - | |
| 3090 | + | |
3080 | 3091 | | |
3081 | 3092 | | |
3082 | 3093 | | |
| |||
0 commit comments
Comments
(0)