Re: Possible solution for LIKE optimization

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Possible solution for LIKE optimization
Дата
Msg-id 3B6E44F7.68457C2@tpf.co.jp
обсуждение исходный текст
Ответ на Re: Possible solution for LIKE optimization  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Possible solution for LIKE optimization  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> 
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Wait, why isn't that the solution in the first place.  Let's build the
> > index with an opclass that uses plain strcmp comparison.
> 
> By George, I think you've got it!  All we need is comparison ops and
> an opclass that use strcmp, even when USE_LOCALE is defined.  Then we
> document "here's how you make a LIKE-compatible index in non-ASCII
> locales", and away we go.
> 

Do we have to make 2 indexes for non_ASCII text field ?

regards,
Hiroshi Inoue


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

Предыдущее
От: Grant
Дата:
Сообщение: Vim!
Следующее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: AW: partial index