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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix initdb to reject a relative path for -X (--xlogdir) argument.
Date: 2008-06-02 03:48:07
Message-ID: 20080602034807.333E1754C54@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/bin/initdb:
initdb.c (r1.152.2.2 -> r1.152.2.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.152.2.2&r2=1.152.2.3)

Browse pgsql-committers by date

  From Date Subject
Next Message User Gleu 2008-06-02 12:18:00 pgsnap - pgsnap: Add a --without-sysobjects command line option to
Previous Message Tom Lane 2008-06-02 03:48:01 pgsql: Fix initdb to reject a relative path for -X (--xlogdir) argument.