From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | MauMau <maumau307(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: How can I find a specific collation in pg_collation when using ICU? |
Date: | 2017-08-09 17:05:48 |
Message-ID: | CAH2-Wz=Zu1jgqpPag9m_sez3UNWvMVCSa4w7Jp5d-cBuy1yYng@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Aug 9, 2017 at 5:38 AM, MauMau <maumau307(at)gmail(dot)com> wrote:
> I tried to find a particular collation name in pg_collation, but I
> cannot understand the naming convention after reading the following
> article. Specifically, I want to find out whether there is some
> collation equivalent to Japanese_CI_AS in SQL Server, which means
> Japanese, case-insensitive, and accent sensitive. Could you tell me
> how to do this? Is there any room to improve the PG manual?
This is not an answer to the question you asked, but it may interest
you to know that ICU uses JIS X 4061 for Japanese, unlike Glibc. This
will give more useful results when sorting Japanese.
The best explanation of the difference that I can understand is here,
under "Why do CJK strings sort incorrectly in Unicode?":
https://dev.mysql.com/doc/refman/5.5/en/faqs-cjk.html
--
Peter Geoghegan
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2017-08-09 17:21:33 | Re: Re: [COMMITTERS] pgsql: Fix inadequacies in recently added wait events |
Previous Message | Shubham Barai | 2017-08-09 16:54:19 | GSoC 2017: weekly progress reports (week 9 and week 10) |