Re: order by text-type : whitespaces ignored??

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: order by text-type : whitespaces ignored??
Дата
Msg-id 457FBF89.6000608@archonet.com
обсуждение исходный текст
Ответ на order by text-type : whitespaces ignored??  (peter pilsl <pilsl@goldfisch.at>)
Ответы Re: order by text-type : whitespaces ignored??  (peter pilsl <pilsl@goldfisch.at>)
Список pgsql-general
peter pilsl wrote:
>
> I just get my mind crossed here:
>
> I do a simple select with order on a text-type. In my opinion entries
> with leading spaces should be either first (or maybe last) in the list.
> But in my select the whitespace just seems to be ignored:

That'll be down to your locale settings. You'll need to re-initdb to
change them I'm afraid. It's locale=C that you want.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: peter pilsl
Дата:
Сообщение: order by text-type : whitespaces ignored??
Следующее
От: Rafal Pietrak
Дата:
Сообщение: A VIEW mimicing a TABLE