469,269 Members | 1,006 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,269 developers. It's quick & easy.

Multi-Language upper(),lower()

Just a quick question.

Am I mistaken, or was multi-language support for
upper(), lower() and friends recently added to 7.5?
I could have sworn I saw mention of this on hackers,
but, the TODO is not marked as done.

Thanks,
Ara Anjargolian

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #1
2 1522
Ara Anjargolian <ar****@yahoo.com> writes:
Am I mistaken, or was multi-language support for
upper(), lower() and friends recently added to 7.5?


I fixed upper/lower so that they would work on multi-byte character set
encodings, given that the platform supports the <wctype.h> functions
towupper, towlower, etc. This means they can work on Unicode (UTF-8)
data. However, this doesn't do anything to improve the fundamental
issue that we are dependent on the C library's API for locale-specific
behavior, and that that API does *not* easily support dealing with
multiple locales at once. See the nearby "unicode and sorting" thread.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #2
Tom Lane wrote:
Ara Anjargolian <ar****@yahoo.com> writes:
Am I mistaken, or was multi-language support for
upper(), lower() and friends recently added to 7.5?


I fixed upper/lower so that they would work on multi-byte character set
encodings, given that the platform supports the <wctype.h> functions
towupper, towlower, etc. This means they can work on Unicode (UTF-8)
data. However, this doesn't do anything to improve the fundamental
issue that we are dependent on the C library's API for locale-specific
behavior, and that that API does *not* easily support dealing with
multiple locales at once. See the nearby "unicode and sorting" thread.


OK, I marked the item as done.

--
Bruce Momjian | http://candle.pha.pa.us
pg***@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

115 posts views Thread by J | last post: by
3 posts views Thread by slowram | last post: by
1 post views Thread by RD | last post: by
3 posts views Thread by Kris Kowal | last post: by
7 posts views Thread by Diego F. | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.