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

From: "Eduardo Santos" <eduardo(dot)edusantos(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3323: Wrong charset for the lower and upper functions
Date: 2007-05-30 19:40:54
Message-ID: 200705301940.l4UJeswh031870@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3323
Logged by: Eduardo Santos
Email address: eduardo(dot)edusantos(at)gmail(dot)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 Servio, and you use the lower function, the result is servio, instead
of servio. the other side is also true: if you use upper in the same eord,
the result is SERVIO, instead of SERVIO.

select upper('Servio');
Expected result: SERVIO
Actual result: SERVIO

select lower('Servio');
Expected result: servio
Actual result: servio

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Frank van Vugt 2007-05-30 19:46:16 Re: backend crash with FATAL: BeginInternalSubTransaction: unexpected state END
Previous Message Pedro Gimeno Fortea 2007-05-30 18:55:22 Re: BUG #3319: Superuser can't revoke grants on a schema given by aother user