pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Cache look up failure
2+ messages / 2 participants
[nested] [flat]

* Cache look up failure
@ 2000-11-29 22:56 Najm Hashmi <najm@mondo-live.com>
  2000-11-30 00:07 ` Re: Cache look up failure Joel Burton <jburton@scw.org>
  0 siblings, 1 reply; 2+ messages in thread

From: Najm Hashmi @ 2000-11-29 22:56 UTC (permalink / raw)
  To: pgsql-sql

Hi All, I am trying to insert  a tuple in the tuple, and i am getting
the follwoing error message:

fliprdb=# insert into collection(name, artist_id) values('El Baile
Aleman',2);
ERROR:  fmgr_info: function 24011: cache lookup failed

Can someone help me out here. Thnaks in advance  for your help.
Najm




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Cache look up failure
  2000-11-29 22:56 Cache look up failure Najm Hashmi <najm@mondo-live.com>
@ 2000-11-30 00:07 ` Joel Burton <jburton@scw.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Joel Burton @ 2000-11-30 00:07 UTC (permalink / raw)
  To: Najm Hashmi <najm@mondo-live.com>; +Cc: pgsql-sql



On 29 Nov 2000, at 17:56, Najm Hashmi wrote:

> Hi All, I am trying to insert  a tuple in the tuple, and i am getting
> the follwoing error message:
> 
> fliprdb=# insert into collection(name, artist_id) values('El Baile
> Aleman',2); ERROR:  fmgr_info: function 24011: cache lookup failed
> 
> Can someone help me out here. Thnaks in advance  for your help.
> Najm

Normally, the cache lookup error means you've done something like:

create table
create view on table
drop table
re-create table (perhaps slightly different)
select * from view

since the view calls the table by oid, not by name, it can't find the 
original table it uses.

for you, it sounds like

create function
create table-that-uses-function-somehow
drop function
re-create function
insert into table

Are there triggers on your table? Or rules? (Both of these might 
refer to functions that might have been changed.) Or, perhaps you 
have constraints on your table that call a function that you've re-
created.

If you have a backup of your database (ie pg_dumpall), you can 
grep this file for 24011. This should be the original oid of the 
function that is lost.

Good luck!

--
Joel Burton, Director of Information Systems -*- jburton@scw.org
Support Center of Washington (www.scw.org)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-11-30 00:07 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-11-29 22:56 Cache look up failure Najm Hashmi <najm@mondo-live.com>
2000-11-30 00:07 ` Joel Burton <jburton@scw.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox