BUG #3323: Wrong charset for the lower and upper functions

Поиск
Список
Период
Сортировка
От Eduardo Santos
Тема BUG #3323: Wrong charset for the lower and upper functions
Дата
Msg-id 200705301940.l4UJeswh031870@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #3323: Wrong charset for the lower and upper functions  (Euler Taveira de Oliveira <euler@timbira.com>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      3323
Logged by:          Eduardo Santos
Email address:      eduardo.edusantos@gmail.com
PostgreSQL version: 8.2.4
Operating system:   Windows
Description:        Wrong charset for the lower and upper functions
Details:

When you have the latin character ç and use the lower or the upper
function, instead of return the approprite character, it returns the oposite
one, so the comparisons in the whole DB are wrong. If you have a word such
as Serviço, and you use the lower function, the result is serviÇo, instead
of serviço. the other side is also true: if you use upper in the same eord,
the result is SERVIçO, instead of SERVIÇO.

select upper('Serviço');
Expected result: SERVIÇO
Actual result: SERVIçO

select lower('Serviço');
Expected result: serviço
Actual result: serviÇo

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

Предыдущее
От: Pedro Gimeno Fortea
Дата:
Сообщение: Re: BUG #3319: Superuser can't revoke grants on a schema given by aother user
Следующее
От: Tom Lane
Дата:
Сообщение: Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END