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)
commita4bfb779b866c43ae6c96243d8879ce63741d479
tree478e4038a963c8dac696a7a522acaa7a7058dbb9
parent6dcafbbfd06131153f7d3754666beb24751ab624
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