[HACKERS] How can I find a specific collation in pg_collation when using ICU? - Mailing list pgsql-hackers

From MauMau
Subject [HACKERS] How can I find a specific collation in pg_collation when using ICU?
Date
Msg-id F54AD68D943D4482ACB343EE3A46C674@tunaPC
Whole thread Raw
Responses Re: [HACKERS] How can I find a specific collation in pg_collationwhen using ICU?
Re: [HACKERS] How can I find a specific collation in pg_collationwhen using ICU?
List pgsql-hackers
Hello,

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?


https://www.postgresql.org/docs/devel/static/collation.html
--------------------------------------------------
23.2.2.2.2. ICU collations

With ICU, it is not sensible to enumerate all possible locale names.
ICU uses a particular naming system for locales, but there are many
more ways to name
a locale than there are actually distinct locales. (In fact, any
string will be accepted as a locale name.) See
http://userguide.icu-project.org/locale
for information on ICU locale naming.
--------------------------------------------------


Regards
MauMau




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Default Partition for Range
Next
From: Aleksander Alekseev
Date:
Subject: Re: [HACKERS] Cache lookup errors with functions manipulation object addresses