Re: Problem with text_pattern_ops

Поиск
Список
Период
Сортировка
От Joseph Shraibman
Тема Re: Problem with text_pattern_ops
Дата
Msg-id 42E6BC6B.3000109@selectacast.net
обсуждение исходный текст
Ответ на Re: Problem with text_pattern_ops  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Ответы Re: Problem with text_pattern_ops  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-general

Stephan Szabo wrote:
> On Tue, 26 Jul 2005, Joseph Shraibman wrote:
>
>
>>I have this index:
>>
>>"directory_lower_username_seg_key" unique, btree (lower(username)
>>text_pattern_ops, seg)
>>
>>... but my query refuses to use that index.
>
>
> text_pattern_ops is an opclass for doing LIKE queries using the index, I
> don't believe it's used for equality comparisons.

Seems like a bug to me.  That operator can't do the operations equal,
less than, and greater than?

В списке pgsql-general по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Problem with text_pattern_ops
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Problem with text_pattern_ops