Re: On non-Windows, hard depend on uselocale(3)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: On non-Windows, hard depend on uselocale(3)
Дата
Msg-id 2689177.1700070346@sss.pgh.pa.us
обсуждение исходный текст
Ответ на On non-Windows, hard depend on uselocale(3)  ("Tristan Partin" <tristan@neon.tech>)
Ответы Re: On non-Windows, hard depend on uselocale(3)  (Thomas Munro <thomas.munro@gmail.com>)
Re: On non-Windows, hard depend on uselocale(3)  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Список pgsql-hackers
"Tristan Partin" <tristan@neon.tech> writes:
> I would like to propose removing HAVE_USELOCALE, and just have WIN32, 
> which means that Postgres would require uselocale(3) on anything that 
> isn't WIN32.

You would need to do some research and try to prove that that won't
be a problem on any modern platform.  Presumably it once was a problem,
or we'd not have bothered with a configure check.

(Some git archaeology might yield useful info about when and why
we added the check.)

            regards, tom lane



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_basebackup check vs Windows file path limits
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Potential use-after-free in partion related code