Re: [PATCH] Fix severe performance regression with gettext 0.20+ on Windows

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: [PATCH] Fix severe performance regression with gettext 0.20+ on Windows
Дата
Msg-id CA+hUKGK_cZkYDFJ7SgPfS_TxqFczM_HpNyLxg9vJdMrg1jum+Q@mail.gmail.com
обсуждение исходный текст
Ответ на [PATCH] Fix severe performance regression with gettext 0.20+ on Windows  (Bryan Green <dbryan.green@gmail.com>)
Список pgsql-hackers
On Wed, Dec 10, 2025 at 1:45 PM Bryan Green <dbryan.green@gmail.com> wrote:
> 1. Locale format mismatch
>    gettext 0.20.1+ introduced a get_lcid() function that expects Windows
> locale format ("English_United States.1252") rather than POSIX format
> ("en_US"). This function enumerates all Windows locales (~259) until a
> match is found, then uses the resulting LCID to determine the catalog path.

I'm surprised there isn't a fast path that skips all that deprecated
(?) stuff when you use BCP 47 language codes...



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