Re: Auto create (top level) directory for create tablespace

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
Subject: Re: Auto create (top level) directory for create tablespace
Date: 2007-12-16 13:16:09
Message-ID: 200712161416.10421.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Gokulakannan Somasundaram 2007-12-17 07:40:48 Proposal for Null Bitmap Optimization(for Trailing NULLs)
Previous Message Bruce Momjian 2007-12-16 08:57:07 Re: Wrong result with pgbench -C option?