Re: BUG #6270: Invalid string comparison if the string contains '+' or '-' sign.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6270: Invalid string comparison if the string contains '+' or '-' sign.
Дата
Msg-id 25980.1319566408@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #6270: Invalid string comparison if the string contains '+' or '-' sign.  ("Evgeniy Galkin" <unikoid@gmail.com>)
Список pgsql-bugs
"Evgeniy Galkin" <unikoid@gmail.com> writes:
> I'm trying to compare two strings which are starting with '+' and '-' signs.
> And there is some strange behaviour.

This is fairly standard if you're using a non-C locale.  Try creating a
fresh database with LC_COLLATE and LC_CTYPE set to 'C'.

            regards, tom lane

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

Предыдущее
От: "Evgeniy Galkin"
Дата:
Сообщение: BUG #6270: Invalid string comparison if the string contains '+' or '-' sign.
Следующее
От: bricklen
Дата:
Сообщение: Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart)