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

From: Mark Gibson <gibsonm(at)cromwell(dot)co(dot)uk>
To: Mark Gibson <gibsonm(at)cromwell(dot)co(dot)uk>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Cache lookup failed for relation, when trying to DROP
Date: 2004-10-06 15:44:07
Message-ID: b8d73c7f50e6dc99d5b1770c4f2d00ab416412e9@cromwell.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alessandro Vincelli 2004-10-06 15:45:09 passing new.* in trigger
Previous Message David Fetter 2004-10-06 15:38:49 Re: database constraints