pgsql: Fix initdb to reject a relative path for -X (--xlogdir) argument. - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix initdb to reject a relative path for -X (--xlogdir) argument.
Date
Msg-id 20080602034801.070D9754C54@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.155 -> r1.156)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.155&r2=1.156)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Update time zone data files to tzdata release 2008c (DST law
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix initdb to reject a relative path for -X (--xlogdir) argument.