BUG #2448: Incorrect UTF-8 ILIKE behaviour (similar to #2261)

From: "Ryszard Lach" <rla(at)debian(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2448: Incorrect UTF-8 ILIKE behaviour (similar to #2261)
Date: 2006-05-22 08:54:50
Message-ID: 200605220854.k4M8soM3092195@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2448
Logged by: Ryszard Lach
Email address: rla(at)debian(dot)org
PostgreSQL version: 8.1.3
Operating system: Debian
Description: Incorrect UTF-8 ILIKE behaviour (similar to #2261)
Details:

I'm sorry if it is a duplicate of Bug #2261, I couldn't find a postgresql
bug tracking system, so could not check its status.

My environment:

initdb launched in LANG=pl_PL.UTF-8
database in UTF-8

I don't know how to quote polish letters here, so let's say I have a letter
'x' which is oacute and has polish upper case counterpart 'X' (upper-case
oacute).

Testing queries are:

select 'x' like lower('X');

returns true, and

select 'x' ilike 'X';

returns false.

First query proves that there is correct mapping between 'x' and 'X'
available, so why the second one cannot use it?

R.

Browse pgsql-bugs by date

  From Date Subject
Next Message Anjali 2006-05-22 11:49:11 BUG #2449: out of range
Previous Message Bruce Momjian 2006-05-22 00:49:46 Re: BUG #2446: FATAL: Could not write to statistics collector