473,800 Members | 2,930 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 YourEmailAddres sHere" to ma*******@postg resql.org)

Nov 23 '05 #1
2 1718
Ara Anjargolian <ar****@yahoo.c om> 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.c om> 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.ph a.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

115
7244
by: J | last post by:
I've run CSSCheck on my style sheets and I always get a warning similar to this: "font: bold 9pt/100% sans-serif Warning: Absolute length units should not generally be used on the Web ..." Yet if I use 'x-small' instead of 9pt, I get bigger type on IE6 and smaller type on Mozilla. My choices seem to be:
77
5391
by: Jon Skeet [C# MVP] | last post by:
Please excuse the cross-post - I'm pretty sure I've had interest in the article on all the groups this is posted to. I've finally managed to finish my article on multi-threading - at least for the moment. I'd be *very* grateful if people with any interest in multi-threading would read it (even just bits of it - it's somewhat long to go through the whole thing!) to check for accuracy, effectiveness of examples, etc. Feel free to mail...
6
1602
by: Martin Hampl | last post by:
Hi, I am using PostgreSQL 7.4, but I did have the same problem with the last version. I indexed the column word (defined as varchar(64)) using lower(word). If I use the following query, everything is fine, the index is used and the query is executed very quickly: select * from token where lower(word) = 'saxophone';
1
7210
by: Tim Marshall | last post by:
A2003. I am getting this error message when I try to set a report's recordsource to an SQL statement or a saved querydef that uses sub-queries. I've debug.printed the SQL, and run it as a stand alone query, as a rowsource for a list box and as a recordsource for a form. There's no problem. I'm only encountering this in reports. As a stop gap, I'm going to use a form for a printe report, bvut I wonder if anyone has encountered...
3
3295
by: kathy | last post by:
I have a general question. If I write a application using any language(C/C++/C#/VB). How to make sure it only has one instance running? What I need to write in source code? If multi-instances run. Is any data confilct exsisted? Assuming I put the .exe in shared network drive and the multi-instances run on different PC. How about the multi-instances run on same PC?
3
9313
by: slowram | last post by:
I know how to get the monitor dimensions, virtual monitor dimensions, but how do I get the location of the second monitor in relationship to the original? On the desktop when I go into my property settings for the monitor I can move around the monitors so if say the second monitor is lower than the first I can position it accordingly. Are these values wrote to the registry? Is there some way to get them? For instance I'd like to know if...
1
1189
by: RD | last post by:
I have a requirement to develop an app in Vb.Net that will use a multi-line (4 or 8 port) modem on which outside users will be able to dial in and send data files. The app just needs to be listening, respond to an incomming call when it occurs and store the received data in a file. I have an existing app that does this in VB6 but it uses only a single modem with one telephone line. I've been looking at some docs on multi modems (4 or 8...
3
2293
by: Kris Kowal | last post by:
Dear Ophidians, I'm attempting to create an SSL secured, AJAX chat server. I'm moving on the hypothesis that I'll need to hang an XMLHttpRequest response blocking on the server until a new message is ready to be dispatched. This means that my server must be able to handle many open SSL sockets in separate threads. I started with Twisted, but, having looked as far as I can see, SSL is either not implemented, or not documented for that...
7
1710
by: Diego F. | last post by:
Hello. I have a doubt about multi-threading, if it is or not the best way to achieve the following: I have a server application that listens a port through a socket. A client will send messages to that application (many messages). Because the amount of messages is huge, the server application should only send each received message to another process (a thread?) that manages the message, and then go with the next message. I want a...
9
2605
by: zmickle | last post by:
Experts and books all say that you can share an Access back end on a shared drive with the front end running on each host computer. I have a simple database that tracks student data and it is shared between 4 staff memebers. Each staff computer has a copy of the front-end (linked tables, forms, and queries). They basically only use one form. The form works like this
0
9689
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10495
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10269
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10248
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7573
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2942
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.