Re: DROP FUNCTION failure: cache lookup failed for

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: DROP FUNCTION failure: cache lookup failed for
Date: 2007-01-25 23:05:08
Message-ID: 200701252305.l0PN58U14783@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Is this a TODO?

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

Tom Lane wrote:
> Michael Fuhr <mike(at)fuhr(dot)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(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2007-01-25 23:16:05 Proposal: Commit timestamp
Previous Message Bruce Momjian 2007-01-25 23:03:04 Re: Piggybacking vacuum I/O

Browse pgsql-patches by date

  From Date Subject
Next Message Jeremy Drake 2007-01-25 23:23:31 Re: [HACKERS] unprivileged contrib and pl install
Previous Message Peter Eisentraut 2007-01-25 23:01:58 Re: uuid patch 2.0 (8.3devel)