Re: order by different on mac vs linux

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: order by different on mac vs linux
Дата
Msg-id 23053.1337036410@sss.pgh.pa.us
обсуждение исходный текст
Ответ на order by different on mac vs linux  (Wes James <comptekki@gmail.com>)
Ответы Re: order by different on mac vs linux  (Wes James <comptekki@gmail.com>)
Re: order by different on mac vs linux  (Wes James <comptekki@gmail.com>)
Re: order by different on mac vs linux  (Wes James <comptekki@gmail.com>)
Re: order by different on mac vs linux  (Wes James <comptekki@gmail.com>)
Re: order by different on mac vs linux  (Wes James <comptekki@gmail.com>)
Список pgsql-sql
Wes James <comptekki@gmail.com> writes:
> Why is there a different order on the different platforms.

This is not exactly unusual.  You should first check to see if
lc_collate is set differently in the two installations --- but even if
it's the same, there are often platform-specific interpretations of
the sorting rules.  (Not to mention that OS X is flat out broken when
it comes to sorting UTF8 data ...)

If you want consistent cross-platform results, "C" locale will get
that for you, but it's pretty stupid about non-ASCII characters.

For more info read
http://www.postgresql.org/docs/9.1/static/charset.html
        regards, tom lane


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

Предыдущее
От: Wes James
Дата:
Сообщение: order by different on mac vs linux
Следующее
От: Jan Bakuwel
Дата:
Сообщение: SELECT 1st field