From: | "D'Arcy" "J(dot)M(dot)" Cain <darcy(at)druid(dot)net> |
---|---|
To: | jwieck(at)debis(dot)com |
Cc: | darcy(at)druid(dot)net, pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Help: fmgr_info: function 0: cache lookup failed |
Date: | 1999-05-27 02:19:42 |
Message-ID: | m10mplm-0000bIC@druid.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Thus spake Jan Wieck
> > 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. Here is the
> > SQL that created the glaccount type. I hope to rewrite the documentation
> > based on this but I need to get it working first. Any ideas?
>
> I can only guess - in contrast to the builtin operators, user
> created ones don't specify the index selectivity functions.
> Maybe you need to manipulate the pg_operator entries manually
> to be able to create indices too. AFAICS there is no check
> made on the fmgr call in selfuncs.c.
I tried just setting oprcanhash to true but that didn't do it. Can
you suggest what fields I need to look at in pg_operator?
--
D'Arcy J.M. Cain <darcy(at){druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.
From | Date | Subject | |
---|---|---|---|
Next Message | D'Arcy J.M. Cain | 1999-05-27 02:20:56 | Re: [HACKERS] Help: fmgr_info: function 0: cache lookup failed |
Previous Message | Vince Vielhaber | 1999-05-27 00:57:12 | Re: [HACKERS] report for Win32 port |