Re: ICU, locale and collation question

Поиск
Список
Период
Сортировка
От Oscar Carlberg
Тема Re: ICU, locale and collation question
Дата
Msg-id 4210aaef-06ff-628e-a2c8-a1a4bf28d278@fortnox.se
обсуждение исходный текст
Ответ на Re: ICU, locale and collation question  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: ICU, locale and collation question
Re: ICU, locale and collation question
Список pgsql-general
On 5/8/23 22:07, Laurenz Albe wrote:

> Yes, that is safe.
>
> But it is not compatible with the old setup when it comes to lc_time,
> lc_messages and the others.  You should use sv_SE.UTF-8 for these
> locale categories.
>
> Note that that won't cause problems with upgrading the C library.
>
> Yours,
> Laurenz Albe
>
Thank you very much for clarifying!

Our initdb setup would then look like this for compatibility;
-E 'UTF-8'
--locale-provider=icu
--icu-locale=sv-SE-x-icu
--lc_monetary=sv_SE.UTF-8
--lc-numeric=sv_SE.UTF-8
--lc-time=sv_SE.UTF-8
--lc-messages=en_US.UTF-8

Should we still provide createdb with --lc-collate=C and --lc-ctype=C,
or should we set those to sv_SE.UTF-8 as well?

Best regards,
Oscar


--
Innehållet i detta e-postmeddelande är konfidentiellt och avsett endast för
adressaten.Varje spridning, kopiering eller utnyttjande av innehållet är
förbjuden utan tillåtelse av avsändaren. Om detta meddelande av misstag
gått till fel adressat vänligen radera det ursprungliga meddelandet och
underrätta avsändaren via e-post



В списке pgsql-general по дате отправления:

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: "PANIC: could not open critical system index 2662" - twice
Следующее
От: Evgeny Morozov
Дата:
Сообщение: Re: "PANIC: could not open critical system index 2662" - twice