From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Greg Sabino Mullane <greg(at)turnstep(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Tablespaces in the data directory |
Date: | 2012-12-04 03:06:11 |
Message-ID: | 20121204030611.GD7675@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Dec 3, 2012 at 02:38:20AM -0000, Greg Sabino Mullane wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
>
> > 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?
>
> Sure there is a point - emulating some other system. Could be
> replication, QA box, disaster recovery, etc. I'd be
> cool with a warning, but do not think we should disallow it.
FYI, someone put their new cluster inside an existing old tablespace,
and when they ran the script to delete their old install, their new
install was deleted too. My answer was, "Don't do that".
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2012-12-04 03:07:00 | Re: Proposal for Allow postgresql.conf values to be changed via SQL |
Previous Message | Andrew Dunstan | 2012-12-04 02:52:46 | Re: json accessors |