Re: ICU for global collation

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Marina Polyakova <m(dot)polyakova(at)postgrespro(dot)ru>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, pryzby(at)telsasoft(dot)com, rjuju123(at)gmail(dot)com, daniel(at)manitou-mail(dot)org, AndrewBille(at)gmail(dot)com, michael(at)paquier(dot)xyz
Subject: Re: ICU for global collation
Date: 2022-09-21 14:53:00
Message-ID: f38dadbe-fb37-68a5-fe7b-2706ce2580c3@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 21.09.22 08:50, Marina Polyakova wrote:
> On 2022-09-20 12:59, Peter Eisentraut wrote:
>> On 17.09.22 10:33, Marina Polyakova wrote:
>>> 3.
>>>
>>> The locale provider is ICU, but it has not yet been set from the
>>> template database:
>>>
>>>> $ initdb --locale-provider icu --icu-locale en-US -D data &&
>>>> pg_ctl -D data -l logfile start &&
>>>> createdb --icu-locale ru-RU --template template0 mydb
>>>> ...
>>>> createdb: error: database creation failed: ERROR:  ICU locale cannot be
>>>> specified unless locale provider is ICU
>>
>> Please see attached patch for a fix.  Does that work for you?
>
> Yes, it works. The following test checks this fix:

Committed with that test, thanks. I think that covers all the ICU
issues you reported for PG15 for now?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-09-21 14:53:11 Re: [PATCH] polish the error message of creating proc
Previous Message Julien Rouhaud 2022-09-21 14:49:12 Re: [PATCH] polish the error message of creating proc