Re: avoid create a tablespace in pg_tblspc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)ec>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: avoid create a tablespace in pg_tblspc
Date: 2008-10-09 23:22:52
Message-ID: 12482.1223594572@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2008-10-09 23:27:24 Re: avoid create a tablespace in pg_tblspc
Previous Message Tom Lane 2008-10-09 23:18:46 Re: autovacuum and TOAST tables