diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-07 18:20:57 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-07 18:20:57 -0500 |
commit | 452064f262fd1c10879311e62181cf96c97dbb09 (patch) | |
tree | b28d8cef8d86e81c558cdd79a9fc181c9e483c22 /src/backend/utils/adt/json.c | |
parent | 9486d0202778074e3af4371e6a4580ab4ce18336 (diff) |
Fix unobvious interaction between -X switch and subdirectory creation.
Turns out the only reason initdb -X worked is that pg_mkdir_p won't
whine if you point it at something that's a symlink to a directory.
Otherwise, the attempt to create pg_xlog/ just like all the other
subdirectories would have failed. Let's be a little more explicit
about what's happening. Oversight in my patch for bug #13853
(mea culpa for not testing -X ...)
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions