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

From Andreas Karlsson
Subject Re: Tablespaces in the data directory
Date
Msg-id 50BE6F5C.3090003@proxel.se
Whole thread Raw
In response to Tablespaces in the data directory  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On 2012-12-01 14:45, Magnus Hagander wrote:
> Someone just reported a problem when they had created a new tablespace
> inside the old data directory. I'm sure there can be other issues
> caused by this as well, but this is mainly a confusing scenario for
> people now.
>
> As there isn't (as far as I know at least) any actual *point* in
> creating a tablespace inside the main data directory, should we
> perhaps disallow this in CREATE TABLESPACE? Or at least throw a
> WARNING if one does it?

Does this apply when creating a tablespace in another tablespace too? If 
the problem is that pg_basebackup copies that data twice it sounds like 
it should.

-- 
Andreas Karlsson



pgsql-hackers by date:

Previous
From: Asif Rehman
Date:
Subject: Re: why can't plpgsql return a row-expression?
Next
From: Tomas Vondra
Date:
Subject: Re: WIP: store additional info in GIN index