Re: BUG #4289: drop owned by report ERROR: cache lookup failed for relation 16390

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: crystal <crystal_lium(at)163(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4289: drop owned by report ERROR: cache lookup failed for relation 16390
Date: 2008-07-09 15:40:09
Message-ID: 13716.1215618009@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Tom Lane wrote:
>> Actually, on looking closer, the problem is that recursiveDeletion fails
>> to pass alreadyDeleted down to (and through) deleteDependentObjects.

> Hmm, in this case I wonder if this could show up in other cases too,
> like DROP SCHEMA.

No, because alreadyDeleted is only used by performMultipleDeletions
which (in 8.3) is only used by DROP OWNED.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andreas 2008-07-09 15:42:24 BUG #4290: wrong double subselect with aggregate function
Previous Message Alvaro Herrera 2008-07-09 15:32:41 Re: BUG #4289: drop owned by report ERROR: cache lookup failed for relation 16390