Re: avoid create a tablespace in pg_tblspc - Mailing list pgsql-hackers

From Tom Lane
Subject Re: avoid create a tablespace in pg_tblspc
Date
Msg-id 12482.1223594572@sss.pgh.pa.us
Whole thread Raw
In response to avoid create a tablespace in pg_tblspc  ("Jaime Casanova" <jcasanov@systemguards.com.ec>)
Responses Re: avoid create a tablespace in pg_tblspc
List pgsql-hackers
"Jaime Casanova" <jcasanov@systemguards.com.ec> writes:
> bug report http://archives.postgresql.org/pgsql-bugs/2008-10/msg00037.php
> seems like a reasonably request to me... and one that is simple to
> fulfill, just create a PG_VERSION in the pg_tblspc dir at initdb.

I don't think it's a reasonable request.  If we take this seriously,
we'd have to buy into making sure that no subdirectory of $PGDATA is
ever empty.  Which is silly.  And what of empty directories elsewhere?
There are any number of ways to shoot yourself in the foot with a bad
choice of tablespace location --- I don't find this one more dangerous
than any other.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: autovacuum and TOAST tables
Next
From: Emmanuel Cecchet
Date:
Subject: Re: Transactions and temp tables