Re: Error when trying to drop a tablespace - Mailing list pgsql-general

From Tom Lane
Subject Re: Error when trying to drop a tablespace
Date
Msg-id 26940.1213800286@sss.pgh.pa.us
Whole thread Raw
In response to Re: Error when trying to drop a tablespace  (Cyril SCETBON <scetbon@echo.fr>)
Responses Re: Error when trying to drop a tablespace  (Cyril SCETBON <scetbon@echo.fr>)
List pgsql-general
Cyril SCETBON <scetbon@echo.fr> writes:
> Albe Laurenz wrote:
>> is there anything in this directory?

> find .
> .
> ./100456
> ./100456/100738
> ./100456/102333
> ./100456/103442
> ./100456/102618
> ./100456/104159
> ./100456/101234
> ./100456/102658
> ./100456/104477

So which database has OID 100456?
    select datname from pg_database where oid = 100456;

> ./100456/1259

Since the output lists some system catalogs, I'm betting this tablespace
is actually the default for that database.

            regards, tom lane

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Need Help Recovering from Botched Upgrade Attempt
Next
From: Alan Hodgson
Date:
Subject: Re: Need Help Recovering from Botched Upgrade Attempt