Re: Sorting Issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sorting Issue
Дата
Msg-id 18244.1305046026@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Sorting Issue  ("Ozer, Pam" <pozer@automotive.com>)
Ответы Re: Sorting Issue  (Samuel Gendler <sgendler@ideasculptor.com>)
Re: Sorting Issue  ("Ozer, Pam" <pozer@automotive.com>)
Список pgsql-sql
"Ozer, Pam" <pozer@automotive.com> writes:
> Isn't this the English standard for collation?  Or is this a non-c
> locale as mentioned below?  Is there anyway around this?  
>        LC_COLLATE = 'en_US.utf8'

en_US is probably using somebody's idea of "dictionary order", which
I believe includes ignoring spaces in the first pass.  You might be
happier using "C" collation.  Unfortunately that requires re-initdb'ing
your database (as of existing PG releases).
        regards, tom lane


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

Предыдущее
От: "Ozer, Pam"
Дата:
Сообщение: Re: Sorting Issue
Следующее
От: John Fabiani
Дата:
Сообщение: Dates and NULL's`