Re: Cache lookup failed for relation, when trying to DROP

Поиск
Список
Период
Сортировка
От Mark Gibson
Тема Re: Cache lookup failed for relation, when trying to DROP
Дата
Msg-id b8d73c7f50e6dc99d5b1770c4f2d00ab416412e9@cromwell.co.uk
обсуждение исходный текст
Ответ на Re: Cache lookup failed for relation, when trying to DROP  (Mark Gibson <gibsonm@cromwell.co.uk>)
Список pgsql-general
Mark Gibson wrote:
> I'm guessing I'm gonna have to route through pg_catalog for this and
> delete all deps manually, but it this going to be safe?
> Would I be better off dumping and restoring the whole database?

Right then, I think I've got this sorted,
DROP TABLE worked after a swift:

DELETE FROM pg_depend WHERE objid = 5173132;

Then DROP SCHEMA also worked.

Do you think I should be safe to continue working with the database now,
without a full dump and restore?
(It's not in production use, but it would take quite some time for
dump/restore)

Cheers.
--
Mark Gibson <gibsonm |AT| cromwell |DOT| co |DOT| uk>
Web Developer & Database Admin
Cromwell Tools Ltd.
Leicester, England.

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

Предыдущее
От: Alessandro Vincelli
Дата:
Сообщение: passing new.* in trigger
Следующее
От: Dennis Gearon
Дата:
Сообщение: Re: database constraints