Re: Tablespaces in the data directory - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Tablespaces in the data directory
Date
Msg-id 20121204145443.GF30893@momjian.us
Whole thread Raw
In response to Re: Tablespaces in the data directory  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, Dec  4, 2012 at 09:37:46AM -0500, Robert Haas wrote:
> On Mon, Dec 3, 2012 at 10:06 PM, Bruce Momjian <bruce@momjian.us> wrote:
> > FYI, someone put their new cluster inside an existing old tablespace,
> > and when they ran the script to delete their old install, their new
> > install was deleted too.  My answer was, "Don't do that".
> 
> Uh, wow.  I feel bad for that person, but it does seem like a bit of a
> self-inflicted injury.

They wanted pg_upgrade to guard against it, and I said that was
possible, but it would require pg_upgrade to know which files to remove,
and that would make pg_upgrade more fragile.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Tablespaces in the data directory
Next
From: Dimitri Fontaine
Date:
Subject: Re: Review: create extension default_full_version