Re: RES: RES: Issue on Varchar Ordering

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: RES: RES: Issue on Varchar Ordering
Дата
Msg-id 200608180757.44585.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: RES: RES: Issue on Varchar Ordering  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-admin
Alvaro Herrera wrote:
> LC_COLLATE=pt_PT sort << EOF
> GABRIEL ALEXANDRE DA SILVA MANICA
> GABRIELA JACOBY NOS
> GABRIELA HELEDA DE SOUZA
> GABRIELA LETICIA BATISTA NUNES
> GABRIEL ALCIDES KLIM PERONDI
> EOF
>
> On my system it outputs the order you show above, which shows that my
> locale is correctly defined per your expectations.

That is absolutely wild.  This will indeed return a space-sensitive sort
under pt_BR, but not under, say, de_DE.  So there is order in this
world! (heh)

This is on Debian, so the original poster has some configuration or
version difference.  Please tell OS version, and the output of "SHOW
lc_collate".

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: LOG: could not receive data from client: Connection reset by peer
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: running PostGres without installing it