Cyril SCETBON <scetbon@echo.fr> writes:
> I get the following error :
> postgres=# DROP TABLESPACE IF EXISTS my_tbs;
> ERROR: tablespace "my_tbs" is not empty
> I've searched in pg_class and I'm not able to find a relation which
> refers to my_tbs with :
Maybe there's something in a different database?
I'd just look into the filesystem and see what's underneath the
tablespace directory ...
regards, tom lane