Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group