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

From Jim Nasby
Subject Re: tablespaces inside $PGDATA considered harmful
Date
Msg-id 55395373.9030006@BlueTreble.com
Whole thread Raw
In response to Re: tablespaces inside $PGDATA considered harmful  (Andres Freund <andres@anarazel.de>)
Responses Re: tablespaces inside $PGDATA considered harmful
List pgsql-hackers
On 4/23/15 11:01 AM, Andres Freund wrote:
> On April 23, 2015 6:12:05 PM GMT+03:00, Jim Nasby <Jim.Nasby@BlueTreble.com> wrote:
>> On 4/22/15 9:41 PM, Bruce Momjian wrote:
>>> The case this doesn't catch is referencing a
>>> symbolic link that points to the same directory.  We can't make it an
>>> error so people can use pg_upgrade these setups.
>>
>> Couldn't we make it an ERROR unless IsBinaryUpgrade?
>
> People still upgrade without pg upgrade.

Yes, but only after creating a brand new cluster from scratch, which 
would then disallow them from putting tablespaces in $PGDATA.

Or are you saying people do binary upgrades without pg_upgrade? I don't 
think we have any obligation to support that...
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: INSERT ... ON CONFLICT IGNORE (and UPDATE) 3.0
Next
From: Andres Freund
Date:
Subject: Re: tablespaces inside $PGDATA considered harmful