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

From Simon Riggs
Subject Re: Tablespaces in the data directory
Date
Msg-id CA+U5nML0pmFD9QOi5VUE8J7KBQ3fNcsa_QsKxO8ydXPxPe2jVQ@mail.gmail.com
Whole thread Raw
In response to Tablespaces in the data directory  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On 1 December 2012 13:45, Magnus Hagander <magnus@hagander.net> 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?

+1

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Tablespaces in the data directory
Next
From: Simon Riggs
Date:
Subject: ALTER TABLE ... NOREWRITE option