Re: operator classes for index?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: weissig(at)rbg(dot)informatik(dot)tu-darmstadt(dot)de
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: operator classes for index?
Date: 2011-04-26 12:28:23
Message-ID: BANLkTi=r7X_66YEEKvN8MP10eOoa7ifgbw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 26, 2011 at 5:18 AM, Yves Weißig
<weissig(at)rbg(dot)informatik(dot)tu-darmstadt(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2011-04-26 12:32:18 Re: Proposal - asynchronous functions
Previous Message Robert Haas 2011-04-26 12:25:59 Re: Proposal - asynchronous functions