Re: Auto create (top level) directory for create tablespace - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Auto create (top level) directory for create tablespace
Date
Msg-id 200712161416.10421.peter_e@gmx.net
Whole thread Raw
In response to Re: Auto create (top level) directory for create tablespace  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Ignoring this point is actually a fine recipe for destroying your data;
> see Joe Conway's report a couple years back about getting burnt by a
> soft NFS mount.  If the DB directory is not there, auto-creating it is
> a horrible idea.

Yes, this would be equivalent to the old behavior of the Red Hat RPMs that
automatically performed initdb if the data directory is missing.  Thankfully,
that has been abolished.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Wrong result with pgbench -C option?
Next
From: "Merlin Moncure"
Date:
Subject: patch to disallow zero length paths in binary (minor bug fix)