Re: More thoughts on drop tablespace - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: More thoughts on drop tablespace
Date
Msg-id 40EA844D.1050107@familyhealth.com.au
Whole thread Raw
In response to Re: More thoughts on drop tablespace  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-hackers
> Well at least the database can be queried easily for usage of that 
> tablespace.

Yes, that's the easy part to fix.  You'd just set the dattablespace back 
to 0 when you dropped the tablespace.

> For the namespace issue, it would help if *some* object would be created 
> with that namespace (e.g. an empty directory or file with the namespace 
> oid), so that pg_tablespace_databases() could detect it.

Seems like the only way.

Chris


pgsql-hackers by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: bug in DROP TABLESPACE
Next
From: "Andrew Dunstan"
Date:
Subject: Re: [Plperlng-devel] strange bug in plperl