Skip site navigation (1) Skip section navigation (2)

Re: Case-Insensitve Text Comparison

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Case-Insensitve Text Comparison
Date: 2008-06-02 05:18:55
Message-ID: 3319.1212383935@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
"David E. Wheeler" <david(at)kineticode(dot)com> writes:
> On Jun 1, 2008, at 21:08, Tom Lane wrote:
>> Okay ... according to whose locale?

> I'm using C. Of course you're correct that it depends on the locale, I  
> always forget that. But does not the Unicode standard offer up some  
> sort locale-independent case-insensitivity, so that it gets it right  
> some large percentage of the time?

Not really, and in any case the C locale completely disables any
knowledge of Unicode.  C locale knows about 7-bit ASCII and nothing
more.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Oleg BartunovDate: 2008-06-02 05:21:47
Subject: Re: Case-Insensitve Text Comparison
Previous:From: David E. WheelerDate: 2008-06-02 05:13:07
Subject: Re: Case-Insensitve Text Comparison

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group