Re: Can't drop table (repost)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can't drop table (repost)
Дата
Msg-id 29752.988219840@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Can't drop table (repost)  (Jeremy Buchmann <jeremy@wellsgaming.com>)
Ответы Re: Can't drop table (repost)
Список pgsql-admin
Jeremy Buchmann <jeremy@wellsgaming.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.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Jeremy Buchmann
Дата:
Сообщение: Re: Can't drop table (repost)
Следующее
От: Joel Burton
Дата:
Сообщение: Re: Reason to not upgrade from 6.5 to 7.0 or above