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

Re: BUG #2554: ILIKE operator works incorrectly

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org, " JarosĂ…aw Bojar" <jarek(dot)bojar(at)gmail(dot)com>
Subject: Re: BUG #2554: ILIKE operator works incorrectly
Date: 2006-08-03 22:58:49
Message-ID: 27292.1154645929@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Jarosaw Bojar wrote:
>> ILIKE operator works incorrectly with UTF8 encoding and Polish
>> characters.

> What does SHOW lc_collate say?

Even if the locale is set right, iwchareq() is completely broken
for multibyte charsets: it's trying to apply the system's tolower()
to a pg_wchar, which is highly unlikely to work.  This has been a
known problem for awhile, but no one's stepped up to fix it.

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Joe ConwayDate: 2006-08-03 23:00:55
Subject: Re: [BUGS] Patch to allow C extension modules to initialize/finish
Previous:From: Tom LaneDate: 2006-08-03 22:52:36
Subject: Re: [BUGS] Patch to allow C extension modules to initialize/finish

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