Re: BUG #4289: drop owned by report ERROR: cache lookup failed for relation 16390 - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #4289: drop owned by report ERROR: cache lookup failed for relation 16390
Date
Msg-id 20080709135522.GB3946@alvh.no-ip.org
Whole thread Raw
In response to BUG #4289: drop owned by report ERROR: cache lookup failed for relation 16390  ("crystal" <crystal_lium@163.com>)
Responses Re: BUG #4289: drop owned by report ERROR: cache lookup failed for relation 16390  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG #4289: drop owned by report ERROR: cache lookup failed for relation 16390  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: BUG #4289: drop owned by report ERROR: cache lookup failed for relation 16390  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
crystal wrote:

> TEST=# drop owned by u1, u2 cascade;
> NOTICE:  drop cascades to view v2
> ERROR:  cache lookup failed for relation 16390

Rats.  I guess this is due to the two-pass nature of some algorithm.
(Dropping owned by u1 cascade drops the view too, and then when dropping
owned by u2, it tries to find the view and the cache lookup fails).

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: "crystal"
Date:
Subject: BUG #4289: drop owned by report ERROR: cache lookup failed for relation 16390
Next
From: Tom Lane
Date:
Subject: Re: BUG #4289: drop owned by report ERROR: cache lookup failed for relation 16390