Re: [HACKERS] Help: fmgr_info: function 0: cache lookup failed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: darcy(at)druid(dot)net ("D'Arcy" "J(dot)M(dot)" Cain)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Help: fmgr_info: function 0: cache lookup failed
Date: 1999-05-26 15:06:30
Message-ID: 12945.927731190@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

darcy(at)druid(dot)net ("D'Arcy" "J.M." Cain) writes:
> darcy=> select * from x where g = '12345-0000';
> ERROR: fmgr_info: function 0: cache lookup failed

> As you can see, the select worked until I added the index.

This is a bit of a reach, but maybe it would work if you added
commutator links to your operator definitions? You should add 'em
anyway on general principles.

If that *does* fix it, I'd say it's still a bug; index operators
should not have to have commutator links.

Next step would be to burrow in with a debugger and figure out what
function the thing thinks it's trying to call. A backtrace from
the call to elog() would help here.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 1999-05-26 15:30:43 Re: [HACKERS] report for Win32 port
Previous Message Bruce Momjian 1999-05-26 15:06:19 Re: [HACKERS] I can't compile cvs snapshot ...