Fix initdb to reject a relative path for -X (--xlogdir) argument. This
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Jun 2008 03:48:07 +0000 (03:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Jun 2008 03:48:07 +0000 (03:48 +0000)
commitbc0c7e9876601ffa1be7407c6a9572650de334f2
tree6b95a3ce7a0654925496929b0822f83679a7fc6c
parent77241fe9fd2e5f2df6bbe88ad301b10b0f9c4127
Fix initdb to reject a relative path for -X (--xlogdir) argument.  This
doesn't work, and the real reason why not is it's unclear where the path
is relative to (initdb's CWD, or the data directory?).  We could make an
arbitrary decision, but it seems best to make the user be unambiguous.
Per gripe from Devrim.
src/bin/initdb/initdb.c