Re: How to get fast ~ operator using C locale

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: How to get fast ~ operator using C locale
Дата
Msg-id b42b73150707050550y1fb3b2e4ued20159ab01a287e@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to get fast ~ operator using C locale  ("Artur Rataj" <arturrataj@gmail.com>)
Список pgsql-general
On 7/5/07, Artur Rataj <arturrataj@gmail.com> wrote:
> But I want the server to use the C locale. I set the locale to C and
> run postmaster. I supposed it uses C locale, but -d 5 shows in log:

The locale for indexing is set during initdb:
initdb --no-locale

The ~ operator does consider using btree regardless of locale unless
your right hand term is a constant and you can reduce to a
(functional) boolean index...so ISTM you are looking in the wrong
place anyways...try tsearch2?

merlin

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

Предыдущее
От: "E.J. Moloney"
Дата:
Сообщение: Vacuum issue
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: How to get fast ~ operator using C locale