From: | Jeremy Buchmann <jeremy(at)wellsgaming(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Can't drop table (repost) |
Date: | 2001-04-25 17:47:51 |
Message-ID: | B70C5BD6.2A16%jeremy@wellsgaming.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
> Jeremy Buchmann <jeremy(at)wellsgaming(dot)com> writes:
>> Okay great, but how do I know what tables I need to drop if it just gives me
>> a number? That 'xxxxxxx' is just some number like '8892659'. Where is the
>> mapping from number->name?
>
> select relname from pg_class where oid = '8892659';
>
> More recent versions do provide the relation name instead of number
> in that error message, btw.
Okay,
cpcs=> select relname from pg_class where oid = '8892659';
relname
---------------
pg_temp.29453.1
(1 row)
So it is one of those temp tables...now if I delete those tables with the
allow-system-table-mods switch, will that still correct the pg_inherits
table so that the dependency no longer exists? Or can I remove that by
hand, too?
Thanks,
-- Jeremy [jeremy(at)wellsgaming(dot)com]
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-04-25 18:02:12 | Re: Can't drop table (repost) |
Previous Message | Tom Lane | 2001-04-25 17:30:40 | Re: Can't drop table (repost) |