can't drop an old tablespace - Mailing list pgsql-admin

From Marc Mamin
Subject can't drop an old tablespace
Date
Msg-id C4DAC901169B624F933534A26ED7DF31034BB7CB@JENMAIL01.ad.intershop.net
Whole thread Raw
List pgsql-admin

Hello,

 

(Postgres 8.3, Linux)

 

while trying to drop a tablespace, I get an error  tablespace "xxx" is not empty.

 

There are effectively a few files within the corresponding  folder,

but all of them are empty and a few months old.

 

moreover, pg_class does not contain any references to this tablespace.

 

 

What should I do to safely get rid of this tablespace:

 

- Is there a way to obtains all dependent objects of a tablespace ?

- How is this error triggered ? comes it from a check of the folder content, or from the catalog  ?

 

 

many thanks,

 

Marc Mamin

 

pgsql-admin by date:

Previous
From: fel
Date:
Subject: [NOVICE] - SAN\NAS\DAS - Need help
Next
From: fel
Date:
Subject: [NOVICE] - SAN/NAS/DAS - Need advises