Re: Indexed leading substring searches - worked, now doesn't
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Indexed leading substring searches - worked, now doesn't |
| Дата | |
| Msg-id | 3156.1107462593@sss.pgh.pa.us обсуждение |
| Ответ на | Indexed leading substring searches - worked, now doesn't (Wes <wespvp@syntegra.com>) |
| Ответы |
Re: Indexed leading substring searches - worked, now
|
| Список | pgsql-general |
Wes <wespvp@syntegra.com> writes:
> The locale is showing up as en_US.iso885915. As far as I know, it was
> always this (default RedHat install), so I don't understand why it worked
> before. Did something change between 7.4.1 and 7.4.5? I supposed it's
> possible that I specified locale=C on the original database and don't
> remember that...
You got it in one ...
> I'm not going to have to "initdb --locale=C" and am I?
You could use the alternative operator classes for pattern searches, but
if you want the same indexes to also serve for normal text sorting,
C locale is the better bet.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера