Re: cache lookup failed ???? What is it ???!!!

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "J(dot)Fernando Moyano" <txinete(at)wanadoo(dot)es>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: cache lookup failed ???? What is it ???!!!
Date: 2001-06-22 16:56:34
Message-ID: Pine.LNX.4.30.0106221855030.727-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

J.Fernando Moyano writes:

> I can't execute this SQL query: DELETE FROM piezas WHERE ord_mec = '01-001'
> I get: ERROR: fmgr_info: function 39816: cache lookup failed

You dropped the function that is referenced by the trigger and recreated
one by the same name. The system keeps track of functions by oid, not by
name, so the trigger doesn't find the function anymore. Solution: Drop
and re-create the trigger.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2001-06-22 16:58:46 Re: Incremental sum ?
Previous Message Josh Berkus 2001-06-22 16:48:18 Re: View performance question