472,119 Members | 1,555 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

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 1629
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.