ilike, ~*, ~~* does not work on 8.0.3 (db encoding - UNICODE) - Mailing list pgsql-general

From Sergey Levchenko
Subject ilike, ~*, ~~* does not work on 8.0.3 (db encoding - UNICODE)
Date
Msg-id e3ffbf24050614084422f6dfbc@mail.gmail.com
Whole thread Raw
List pgsql-general
I can not get work ilike, ~*, ~~* with not ascii chars, but upper,
lower, order by - work good.
db encoding is UNICODE.

test=> SELECT 'Тест' ~~* 'тест';
 ?column?
----------
 f

test=> SELECT 'Тест'' ~* 'тест';
 ?column?
----------
 f

test=> SELECT 'Тест'' ILIKE 'тест';
 ?column?
----------
 f

test=> SELECT upper('Тест'') ~~ upper('тест');
 ?column?
----------
 t


tesscom=> SELECT upper('Тест'') ~ upper('тест');
 ?column?
----------
 t

pgsql-general by date:

Previous
From: Vivek Khera
Date:
Subject: Re: PostgreSQL Certification
Next
From: Danny Gaethofs
Date:
Subject: server not starting