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

2004-10-18 Thread Jan Wieck
On 10/15/2004 4:20 AM, Mark Gibson wrote: Andrew Sullivan wrote: On Wed, Oct 06, 2004 at 05:25:58PM +0100, Mark Gibson wrote: I had to remove Slony's schema manually as I was having problems with it. I was in the process of removing all Slony related stuff, and all my slave tables when this problem

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

2004-10-15 Thread Mark Gibson
Andrew Sullivan wrote: On Wed, Oct 06, 2004 at 05:25:58PM +0100, Mark Gibson wrote: I had to remove Slony's schema manually as I was having problems with it. I was in the process of removing all Slony related stuff, and all my slave tables when this problem occurred, and was going to start again fr

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

2004-10-12 Thread Andrew Sullivan
On Wed, Oct 06, 2004 at 05:25:58PM +0100, Mark Gibson wrote: > I had to remove Slony's schema manually as I was having problems > with it. I was in the process of removing all Slony related stuff, > and all my slave tables when this problem occurred, and was going to > start again from scratch. Di

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

2004-10-06 Thread Mark Gibson
Tom Lane wrote: Mark Gibson <[EMAIL PROTECTED]> writes: Right then, I think I've got this sorted, DROP TABLE worked after a swift: DELETE FROM pg_depend WHERE objid = 5173132; There's something awfully flaky going on here. The system should never have let you get into this state in the first plac

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

2004-10-06 Thread Tom Lane
Mark Gibson <[EMAIL PROTECTED]> writes: > Right then, I think I've got this sorted, > DROP TABLE worked after a swift: > DELETE FROM pg_depend WHERE objid = 5173132; There's something awfully flaky going on here. The system should never have let you get into this state in the first place: the ent

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

2004-10-06 Thread Mark Gibson
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_d

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

2004-10-06 Thread Mark Gibson
Tom Lane wrote: Mark Gibson <[EMAIL PROTECTED]> writes: I kept getting the following error: ERROR: cache lookup failed for relation 4667548 This implies that something someplace still has a link to the table with that OID. You could do "\set VERBOSITY verbose" so that the code location the error

Re: [GENERAL] Cache lookup failed for relation, when trying to DROP TABLE.

2004-10-06 Thread Tom Lane
Mark Gibson <[EMAIL PROTECTED]> writes: > I kept getting the following error: > ERROR: cache lookup failed for relation 4667548 This implies that something someplace still has a link to the table with that OID. You could do "\set VERBOSITY verbose" so that the code location the error occurs at g

[GENERAL] Cache lookup failed for relation, when trying to DROP TABLE.

2004-10-06 Thread Mark Gibson
Hello, I've just encountered a problem that I don't know how to deal with. After having a play with SlonyI, I dropped the entire slony cluster schema, and then tried to drop a schema which held some slave tables for the slony cluster. I kept getting the following error: ERROR: cache lookup faile