Re: Stripping white-space in SELECT statments

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Stripping white-space in SELECT statments
Дата
Msg-id 20020919072834.D27151-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Stripping white-space in SELECT statments  (Thorbjörn Eriksson <thorbjorn.eriksson@ec.se>)
Список pgsql-sql
On Thu, 19 Sep 2002, [iso-8859-1] Thorbj�rn Eriksson wrote:

> Hello,
>
> I've encountered a strange behavior in postgres 7.2.1 regarding how psql
> handles strings ending with space characters.
>

What locale did you initdb with?  Some locales on some systems have
behavior like that.  To test, you could try the unix sort command
on data like:
201901  Z
201901-D
201901 D
in the same locale and see what order you get (specifically where
does that first line go - on my machine it goes to the end unless
I explicitly choose a locale like "C")



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Stripping white-space in SELECT statments
Следующее
От: Charles Hauser
Дата:
Сообщение: help w/ constructing a SELECT