RE: collate not support Unicode Variation Selector

From: 荒井元成 <n2029(at)ndensan(dot)co(dot)jp>
To: "'PostgreSQL Hackers'" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: 荒井 元成 <n2029(at)ndensan(dot)co(dot)jp>
Subject: RE: collate not support Unicode Variation Selector
Date: 2022-08-03 00:09:35
Message-ID: 001e01d8a6cd$50a44900$f1ecdb00$@ndensan.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, I hope supported Unicode Variation Selector on collate.

I will resend it because there was a typo.

D209007=# create table ivstest ( moji text collate "ja-x-icu" CONSTRAINT firstkey PRIMARY KEY );
D209007=# insert into ivstest (moji) values ( U&'\+003436' || U&'\+0E0101' || U&'\+00304D');
D209007=# insert into ivstest (moji) values ( U&'\+003436' || U&'\+00304D');
D209007=# select moji from ivstest where moji like '%' || U&'\+003436' || '%';
-------------
㐶󠄁き
㐶き
(2 行)

expected
-------------
㐶き
(1 行)

Best regards,

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-08-03 00:18:20 Re: Parallel Aggregates for string_agg and array_agg
Previous Message 荒井元成 2022-08-02 23:54:31 collate not support Unicode Variation Selector