Re: locale support

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: locale support
Дата
в 16:03:59
Msg-id
Pine.LNX.4.44.0305072202570.2565-100000@peter.localdomain
Ответ на
locale support (Jodi Kanter)
Список
Дерево обсуждения
locale support Jodi Kanter <jkanter@virginia.edu>
Re: locale support Oliver Elphick <olly@lfix.co.uk>
Re: locale support Bruno Wolff III <bruno@wolff.to>
Re: locale support Peter Eisentraut <peter_e@gmx.net>
Jodi Kanter writes:

> We originally changed the development machine from en_US to C because we
> were having a problem with spaces being sorted in correctly. That has
> been fixed on the development box, but I now noticed it is sorting lower
> case letters after all capital letters. I would prefer that case is
> ignored when alphabetical sorts are completed. This type of sort is
> working correctly on the machine where both locales are set to en_US.

"C" gives you byte sort order (which happens to come out A..Za..z), en_US
(or any other "real" locale) gives you a more natural order that matches
what a typical dictionary would use.  If you have very particular
requirements, you can try to create your own locales.  Most modern
operating systems have support for that.

-- 
Peter Eisentraut   peter_e@gmx.net

В списке pgsql-admin по дате отправления
От: Jodi Kanter
Дата:
Сообщение: locale support
От: Bruno Wolff III
Дата:
Сообщение: Re: locale support
FAQ