On Thu, 2024-06-06 at 16:34 +0200, Peter Eisentraut wrote:
> - setlocale()
>
> The locale business needs to be reworked to use locale_t and _l
> functions. This is already being discussed for other reasons.
I posted a few patches to do this for collation:
https://commitfest.postgresql.org/48/50
In the context of the multithreaded-server project, I looked into
potentially not thread-safe functions.
(See proposed next steps at the end of this message.)
Here is a list of functions in POSIX that are possibly not thread-safe:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_ch