Re: problem with ORDER BY

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: problem with ORDER BY
Дата
Msg-id 23826.1201879435@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: problem with ORDER BY  (Nicolas KOWALSKI <niko@petole.dyndns.org>)
Ответы Re: problem with ORDER BY
Список pgsql-general
Nicolas KOWALSKI <niko@petole.dyndns.org> writes:
> Martijn van Oosterhout <kleptog@svana.org> writes:
>> Show us your collation order:
>> show lc_collate;

> Here it is:

> mon=> show lc_collate;
>  lc_collate
> -------------
>  en_US.UTF-8
> (1 row)

The ordering you showed is correct according to en_US (and most other
non-C locales).  The ordering you want is used in "C" locale.
Unfortunately you have to re-initdb to change the locale of a
database :-(
    initdb --locale=C

            regards, tom lane

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: arrays of floating point numbers / linear algebra operations into the DB
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore fails for postgis data dump