Re: Error when trying to drop a tablespace

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Cyril SCETBON <scetbon(at)echo(dot)fr>
Cc: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, pgsql-general(at)postgresql(dot)org
Subject: Re: Error when trying to drop a tablespace
Date: 2008-06-18 14:44:46
Message-ID: 26940.1213800286@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Cyril SCETBON <scetbon(at)echo(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alan Hodgson 2008-06-18 15:04:07 Re: Need Help Recovering from Botched Upgrade Attempt
Previous Message Craig Ringer 2008-06-18 14:38:43 Re: Need Help Recovering from Botched Upgrade Attempt