Re: Remaining dependency on setlocale()

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Remaining dependency on setlocale()
Дата
Msg-id CA+hUKG+V4SR5hW2yUEAbp7CADVn=1FZb=mE_tQkt5UsHYg9dJA@mail.gmail.com
обсуждение исходный текст
Ответ на Remaining dependency on setlocale()  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Remaining dependency on setlocale()
Список pgsql-hackers
On Tue, Jul 8, 2025 at 1:14 PM Jeff Davis <pgsql@j-davis.com> wrote:
> v4-0008 uses LC_C_LOCALE, and I'm not sure if that's portable, but if
> the buildfarm complains then I'll fix it or revert it.

(Catching up with this thread...)

LC_C_LOCALE is definitely not portable: I've only seen it on macOS and
NetBSD.  It would be a good thing to propose to POSIX, since no other
approach can be retrofitted quite so cromulently...

I tried to make a portable PG_C_LOCALE mechanism like that, but it was
reverted for reasons needing more investigation... see
8e993bff5326b00ced137c837fce7cd1e0ecae14 (reverted by
3c8e463b0d885e0d976f6a13a1fb78187b25c86f).



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