Re: operator classes for index? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: operator classes for index?
Date
Msg-id BANLkTi=r7X_66YEEKvN8MP10eOoa7ifgbw@mail.gmail.com
Whole thread Raw
In response to Re: operator classes for index?  (Yves Weißig <weissig@rbg.informatik.tu-darmstadt.de>)
Responses Re: operator classes for index?  (Yves Weißig <weissig@rbg.informatik.tu-darmstadt.de>)
List pgsql-hackers
On Tue, Apr 26, 2011 at 5:18 AM, Yves Weißig
<weissig@rbg.informatik.tu-darmstadt.de> wrote:
> CREATE OPERATOR CLASS abstime_ops
>  DEFAULT FOR TYPE abstime USING ebi FAMILY abstime_ops AS
>  OPERATOR 1 = (abstime,abstime),
>  FUNCTION 1 hashint4(abstime,abstime);
>
> it yields: ERROR:  function hashint4(abstime, abstime) does not exist
> though it exists (it is part of the hash AM), do I have to note the

My copy of PostgreSQL has a hashint4(integer) function, but no
hashint4(abstime, abstime) function.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Proposal - asynchronous functions
Next
From: Stephen Frost
Date:
Subject: Re: Proposal - asynchronous functions