Re: ICU locale validation / canonicalization

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: ICU locale validation / canonicalization
Дата
Msg-id 9a42ad17-e8f4-083e-086f-c7aee43dfdc3@enterprisedb.com
обсуждение исходный текст
Ответ на ICU locale validation / canonicalization  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: ICU locale validation / canonicalization  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On 08.02.23 08:59, Jeff Davis wrote:
> The overall benefit here is that we keep our catalogs consistently
> using an independent standard format for ICU locale strings, rather
> than whatever the user specifies. That makes it less likely that ICU
> needs to use any fallback logic when trying to open a collator, which
> could only be bad news.

One use case is that if a user specifies a locale, say, of 'de-AT', this 
might canonicalize to 'de' today, but we should still store what the 
user specified because 1) that documents what the user wanted, and 2) it 
might not canonicalize to the same thing tomorrow.




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

Предыдущее
От: "Hayato Kuroda (Fujitsu)"
Дата:
Сообщение: RE: [Proposal] Add foreign-server health checks infrastructure
Следующее
От: Tom Lane
Дата:
Сообщение: Re: MacOS: xsltproc fails with "warning: failed to load external entity"