Re: Tablespaces in the data directory

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Tablespaces in the data directory
Date: 2012-12-01 13:50:29
Message-ID: CA+U5nML0pmFD9QOi5VUE8J7KBQ3fNcsa_QsKxO8ydXPxPe2jVQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1 December 2012 13:45, Magnus Hagander <magnus(at)hagander(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-12-01 13:54:53 ALTER TABLE ... NOREWRITE option
Previous Message Magnus Hagander 2012-12-01 13:45:20 Tablespaces in the data directory