]> granicus.if.org Git - postgresql/commit
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:00 +0000 (03:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Jun 2008 03:48:00 +0000 (03:48 +0000)
commiteaa70a3891a39634e425e23aa7a4b5969333c8dc
tree54a3d6a6950ba61487689fc166ac46724e106cda
parentc4fdebd926bc75b1d4d260a84a974f6693115fe4
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