Re: cache lookup failed ???? What is it ???!!! - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: cache lookup failed ???? What is it ???!!!
Date
Msg-id Pine.LNX.4.30.0106221855030.727-100000@peter.localdomain
Whole thread Raw
In response to cache lookup failed ???? What is it ???!!!  ("J.Fernando Moyano" <txinete@wanadoo.es>)
List 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@gmx.net   http://funkturm.homeip.net/~peter



pgsql-sql by date:

Previous
From: "Richard Huxton"
Date:
Subject: Re: Difference between insert a tuple in a table by function and by datasheet
Next
From: Tom Lane
Date:
Subject: Re: Incremental sum ?