Re: [HACKERS] PostgreSQL 10 (latest beta) and older ICU

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] PostgreSQL 10 (latest beta) and older ICU
Дата
Msg-id 0523762c-be62-b271-226f-0771df613365@2ndquadrant.com
обсуждение исходный текст
Ответ на [HACKERS] PostgreSQL 10 (latest beta) and older ICU  (Victor Wagner <vitus@wagner.pp.ru>)
Ответы Re: [HACKERS] PostgreSQL 10 (latest beta) and older ICU  (Victor Wagner <vitus@wagner.pp.ru>)
Список pgsql-hackers
On 7/25/17 15:20, Victor Wagner wrote:
> It turns out, that PostgreSQL enumerates collations for all ICU locales
> and passes it into uloc_toLanguageTag function with strict argument of
> this function set to TRUE. But for some locales
> (es*@collation=tradtiional, si*@collation=dictionary) only call with
> strict=FALSE succeeds in ICU 4.2. In newer versions of ICU all locales
> can be resolved with strict=TRUE.

We are only calling uloc_toLanguageTag() with keyword/value combinations
that ICU itself previously told us were supported.  So just ignoring
errors doesn't seem proper in this case.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Chapman Flack
Дата:
Сообщение: [HACKERS] Re: [PATCH] Pattern based listeners for asynchronous messaging(LISTEN/NOTIFY)
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] Parallel Hash take II