Re: ICU for global collation - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: ICU for global collation
Date
Msg-id f38dadbe-fb37-68a5-fe7b-2706ce2580c3@enterprisedb.com
Whole thread Raw
In response to Re: ICU for global collation  (Marina Polyakova <m.polyakova@postgrespro.ru>)
Responses Re: ICU for global collation
List 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?




pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: [PATCH] polish the error message of creating proc
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] polish the error message of creating proc