dbTalk Databases Forums  

[BUGS] Wrong uppler lower for national characters.

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Wrong uppler lower for national characters. in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Viacheslav N Tararin
 
Posts: n/a

Default [BUGS] Wrong uppler lower for national characters. - 10-14-2003 , 11:12 AM






Hi.
Next code:

select upper(field1) from table1;

Convert all latin symbols <128 in to UPPER case but all not latin >128
in lower case locale consistent. Function lower work vicevesa upper(),
wrong too.

ilake() function work wrong too.

Environment:
ASPLinux 7.2.
gcc 2.96
kernel 2.4.9-13.smp
PostgreSQL 7.4beta3





---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote
  #2  
Old   
Peter Eisentraut
 
Posts: n/a

Default Re: [BUGS] Wrong uppler lower for national characters. - 10-14-2003 , 01:18 PM






Viacheslav N Tararin writes:

Quote:
select upper(field1) from table1;

Convert all latin symbols <128 in to UPPER case but all not latin >128
in lower case locale consistent. Function lower work vicevesa upper(),
wrong too.

ilake() function work wrong too.
"Right" and "wrong" are defined by your system locale. Check what locale
you have set in your PostgreSQL server and whether the system locale works
as you expect. If you have further problems please post more detail,
including the locale configuration and some actual data.

--
Peter Eisentraut peter_e (AT) gmx (DOT) net


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.