Re: Thread-safe nl_langinfo() and localeconv()
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Thomas Munro <thomas.munro@gmail.com>,
Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-02-09T14:52:49Z
Lists: pgsql-hackers
Attachments
- v6-0001-Provide-thread-safe-pg_localeconv_r.patch (text/plain) patch v6-0001
- v6-0002-Use-thread-safe-strftime_l-instead-of-strftime.patch (text/plain) patch v6-0002
- v6-0003-Remove-setlocale-from-check_locale.patch (text/plain) patch v6-0003
This patch set is still desirable. Here is a rebased version of the v5 patches. I haven't applied any corrections or review comments.
Commits
-
Fix "‘static’ is not at beginning of declaration" warning
- 116e851db5b3 18.0 landed
-
Use thread-safe strftime_l() instead of strftime().
- 890fc826c91f 18.0 landed
-
Provide thread-safe pg_localeconv_r().
- b98be8a2a2a6 18.0 landed
-
Harmonize MinGW CODESET lookup with MSVC.
- bf3401fe813a 18.0 landed
-
Include <xlocale.h> for macOS, take II.
- 2488058dc356 18.0 landed
-
Use thread-safe nl_langinfo_l(), not nl_langinfo().
- 35eeea623022 18.0 landed
-
All POSIX systems have langinfo.h and CODESET.
- 14c648ff0094 18.0 landed