| From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
|---|---|
| To: | "Zwettler Markus (OIZ)" <markus(dot)zwettler(at)zuerich(dot)ch>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: ICU database? |
| Date: | 2026-08-05 14:12:11 |
| Message-ID: | 9905eca3-cb6d-4c8e-bfd6-1b620f18cc79@aklaver.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 8/5/26 5:55 AM, Zwettler Markus (OIZ) wrote:
> I'm creating a PG cluster with Swiss High German ICU locales.
What Postgres version?
What OS and version?
What is the OS locale?
>
>
>
> I wonder why “collate = C” and “ctype = C” is shown?
>
>
> initdb --locale-provider=icu --icu-locale=de-CH-x-icu -D /path/to/
> datainitdb
>
> CREATE DATABASE eng001
>
> WITH
>
> OWNER = dbowner
>
> ENCODING = 'UTF8'
>
> LOCALE_PROVIDER = 'icu'
>
> ICU_LOCALE = 'de-CH-x-icu'
>
> ;
>
> postgres=# \l
>
> List of databases
>
> Name | Owner | Encoding | Locale Provider | Collate | Ctype |
> Locale | ICU Rules | Access privileges
>
> -----------+----------+----------+-----------------+---------+-------
> +-------------+-----------+-----------------------
>
> eng001 | dbowner | UTF8 | icu | C | C |
> de-CH-x-icu | | =CTc/dbowner +
>
> | | | | | |
> | | dbowner=CTc/dbowner
>
> postgres | postgres | UTF8 | icu | C | C |
> de-CH-x-icu | |
>
> template0 | postgres | UTF8 | icu | C | C |
> de-CH-x-icu | | =c/postgres +
>
> | | | | | |
> | | postgres=CTc/postgres
>
> template1 | postgres | UTF8 | icu | C | C |
> de-CH-x-icu | | =c/postgres +
>
> | | | | | |
> | | postgres=CTc/postgres
>
> (4 rows)
>
>
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2026-08-05 14:21:31 | Re: Incompatibility between pg_squeeze and pglogical |
| Previous Message | Zwettler Markus (OIZ) | 2026-08-05 12:55:19 | ICU database? |