summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-01-07 18:20:57 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-01-07 18:20:57 -0500
commit452064f262fd1c10879311e62181cf96c97dbb09 (patch)
treeb28d8cef8d86e81c558cdd79a9fc181c9e483c22 /src/tutorial/funcs.c
parent9486d0202778074e3af4371e6a4580ab4ce18336 (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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions