Re: DROP FUNCTION failure: cache lookup failed for - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: DROP FUNCTION failure: cache lookup failed for
Date
Msg-id 200701252305.l0PN58U14783@momjian.us
Whole thread Raw
In response to Re: DROP FUNCTION failure: cache lookup failed for relation X  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Is this a TODO?

---------------------------------------------------------------------------

Tom Lane wrote:
> Michael Fuhr <mike@fuhr.org> writes:
> > I've found a situation that causes DROP FUNCTION to fail (tested
> > in 8.1.6, 8.2.1, and 8.3devel):
> 
> Ugh ... I haven't traced this through in detail, but I'm pretty sure
> the problem arises from the fact that dependency.c traces through
> auto/internal dependencies before actually starting to do the deletions
> (and thus before acquiring locks).  Can we fix this without multiple
> scans of the dependency tree (probably costing O(N^lots))?
> 
>             regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faq

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Piggybacking vacuum I/O
Next
From: Jan Wieck
Date:
Subject: Proposal: Commit timestamp