From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Booth, Robert" <Robert_Booth(at)intuit(dot)com> |
Cc: | "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: fmgr_info: function 0: cache lookup failed |
Date: | 2002-03-12 02:15:54 |
Message-ID: | 16321.1015899354@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Booth, Robert" <Robert_Booth(at)intuit(dot)com> writes:
> CREATE FUNCTION MsAccessBool (bool, int4) RETURNS BOOL AS ...
> CREATE OPERATOR = (
> LEFTARG = BOOL,
> RIGHTARG = INT4,
> PROCEDURE = MsAccessBool,
> COMMUTATOR = '=',
> NEGATOR = '<>',
> RESTRICT = EQSEL,
> JOIN = EQJOINSEL);
> So I did this, and now I'm getting the "fmgr_info: function 0: cache lookup
> failed" message.
You are telling the system that there will be an int4 = bool operator
(the commutator) as well as a bool <> int4 operator (the negator).
If you are not going to supply same, don't declare that you will.
The error message could be more helpful, perhaps :-(
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-03-12 02:23:54 | Re: pg_toast table growth out of control |
Previous Message | Jeff Martin | 2002-03-12 01:51:14 | Re: Can't get ODBC from Windows to Linux/Postgres to work |