Re: [HACKERS] Cache lookup failed for relation X [was: DROP FUNCTION cache lookup failed for relation X]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Cache lookup failed for relation X [was: DROP FUNCTION cache lookup failed for relation X]
Date: 2007-11-01 12:08:20
Message-ID: 2901.1193918900@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Mark Kirkwood <markir(at)paradise(dot)net(dot)nz> writes:
> The previous discussion centered around working on on locking in
> dependency.c whilst dropping related objects - but does this apply when
> there is just one? Anyway I tried to understand what was happening and
> the attached rather hacky patch seems to cure the behaviour - So I've
> submitted it as a discussion aid, rather than 'the way of fixing
> this'... since I'm hoping there is a better way :-)

AFAICS this just makes the window a bit narrower.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2007-11-01 13:02:58 Re: Postgresql 8.3 beta crash
Previous Message Xandria Collection 2007-11-01 11:59:00 Special Offer from the Xandria Collection!

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2007-11-01 12:27:12 krb_match_realm
Previous Message Mark Kirkwood 2007-11-01 08:19:24 Cache lookup failed for relation X [was: DROP FUNCTION cache lookup failed for relation X]