Re: [HACKERS] ICU integration
От | Jeff Janes |
---|---|
Тема | Re: [HACKERS] ICU integration |
Дата | |
Msg-id | CAMkU=1xpD5x+jBMQBQWo4GmxYP4oK96T2r2sp84iQM9_XKGJow@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [HACKERS] ICU integration (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
Список | pgsql-hackers |
On Thu, Mar 23, 2017 at 12:34 PM, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
On 3/23/17 05:34, Andreas Karlsson wrote:
> I am fine with this version of the patch. The issues I have with it,
> which I mentioned earlier in this thread, seem to be issues with ICU
> rather than with this patch. For example there seems to be no way for
> ICU to validate the syntax of the BCP 47 locales (or ICU's old format).
> But I think we will just have to accept the weirdness of how ICU handles
> locales.
>
> I think this patch is ready to be committed.
>
> Found a typo in the documentation:
>
> "The inspect the currently available locales" should be "To inspect the
> currently available locales".
Committed.
This has broken the C locale, and the build farm.
if (pg_database_encoding_max_length() > 1 || locale->provider == COLLPROVIDER_ICU)
segfaults because locale is null. (locale_is_c is true)
Cheers,
Jeff
В списке pgsql-hackers по дате отправления: