Re: Proposed new create command, CREATE OPERATOR CLASS - Mailing list pgsql-hackers

From Bill Studenmund
Subject Re: Proposed new create command, CREATE OPERATOR CLASS
Date
Msg-id Pine.NEB.4.33.0110240312030.10780-100000@vespasia.home-net.internetconnect.net
Whole thread Raw
In response to Re: Proposed new create command, CREATE OPERATOR CLASS  (Teodor Sigaev <teodor@stack.net>)
List pgsql-hackers
On Thu, 25 Oct 2001, Teodor Sigaev wrote:

> Make me right if I mistake.
>
> When we was developing operator @@, I saw that postgres don't use index in
> select if operation has not commutator. But operator with different types in
> argument can't be commutator with itself. So I maked operator ~~ only for
> postgres can use index access for operator @@. There is no any difficulties to
> adding index support for operator ~~. The same things is with contrib/tsearch
> module.
>
> But I think that there is not any other necessity in presence ~~.

So only one of the two needs to go into pg_amop, correct? Then everything
else is fine.

Take care,

Bill



pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: pgindent run
Next
From: Tom Lane
Date:
Subject: Re: pgindent run