Re: BUG #1236: still in use tablespaces can be removed - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1236: still in use tablespaces can be removed
Date
Msg-id 1809.1093728231@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1236: still in use tablespaces can be removed  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
Responses Re: BUG #1236: still in use tablespaces can be removed  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-bugs
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> Suggested fix: create some empty file in the directory
> if it is used by a namespace.

This was discussed and rejected before --- the problem is not worth the
amount of mechanism that would have to be added to fix it this way.
See the pghackers archives, but I believe the main problem is that a
namespace is not a table and so none of the mechanisms that support file
creation/deletion will work with it.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "PostgreSQL Bugs List"
Date:
Subject: BUG #1236: still in use tablespaces can be removed
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #1224: Restarting postgres appends extra -D argument