Re: BUG #4999: select 'a' < 'A' is true, but should be false . . .

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4999: select 'a' < 'A' is true, but should be false . . .
Дата
Msg-id 5598.1251253096@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #4999: select 'a' < 'A' is true, but should be false . . .  ("Brian Ceccarelli" <ceccareb@talusmusic.com>)
Список pgsql-bugs
"Brian Ceccarelli" <ceccareb@talusmusic.com> writes:
>      After a long and careful study of this, this is a Postgres bug.
> Postgres is boogering up the sort.   The operators < >, and the "order by"
> in the select statement are both case-sensitive and case-insensitive.    It
> is inconsistent.

"Consistency" is not a hallmark of the sort ordering in most non-C
locales :-(.  If this behavior troubles you, use C locale.

            regards, tom lane

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

Предыдущее
От: "Brian Ceccarelli"
Дата:
Сообщение: Re: BUG #4999: select 'a' < 'A' is true, but should be false . . .
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: BUG #4999: select 'a' < 'A' is true, but should be false . . .