Re: Proposed new create command, CREATE OPERATOR CLASS

Поиск
Список
Период
Сортировка
От Bill Studenmund
Тема Re: Proposed new create command, CREATE OPERATOR CLASS
Дата
Msg-id Pine.NEB.4.33.0110240312030.10780-100000@vespasia.home-net.internetconnect.net
обсуждение исходный текст
Ответ на Re: Proposed new create command, CREATE OPERATOR CLASS  (Teodor Sigaev <teodor@stack.net>)
Список 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 по дате отправления:

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: pgindent run
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgindent run