Re: tablespaces inside $PGDATA considered harmful - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: tablespaces inside $PGDATA considered harmful
Date
Msg-id 20150428213540.GB31727@momjian.us
Whole thread Raw
In response to Re: tablespaces inside $PGDATA considered harmful  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [HACKERS] tablespaces inside $PGDATA considered harmful
List pgsql-hackers
On Fri, Apr 24, 2015 at 01:05:03PM -0400, Bruce Momjian wrote:
> This way, both pg_dump and pg_upgrade will issue warnings, though, of
> course, those warnings can be ignored.  I am hopeful these two warnings
> will be sufficient and we will not need make these errors, with the
> possible inconvenience it will cause.  I am still afraid that someone
> will ignore the new errors pg_dump would generate and lose data.  I just
> don't remember enough cases where we threw new errors on _data_ restore.
> 
> Frankly, those using pg_upgrade already will have to move the old
> tablespaces out of the old cluster if they ever want to delete those
> clusters, so I am hopeful these additional warnings will help eliminate
> this practice, which is already cumbersome and useless.  I am not
> planning to revisit this for 9.6.

Patch applied.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: COPY and file_fdw with fixed column widths
Next
From: Tomas Vondra
Date:
Subject: Re: FIX : teach expression walker about RestrictInfo