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

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, Andrew Dunstan <andrew@dunslane.net>, Tristan Partin <tristan@neon.tech>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-03-28T15:30:07Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Revert "Tidy up locale thread safety in ECPG library."

  2. Tidy up locale thread safety in ECPG library.

  3. Revert "Blind attempt to fix _configthreadlocale() failures on MinGW."

  4. Require ucrt if using MinGW.

  5. Remove configure check for _configthreadlocale().

  6. Simplify checking for xlocale.h

  7. All supported systems have locale_t.

On 09.02.25 08:32, Peter Eisentraut wrote:
> Checking the status of this thread ...
> 
> The patches that removed the configure checks for _configthreadlocale(), 
> and related cleanup, have been committed.
> 
> The original patch to "Tidy up locale thread safety in ECPG library" is 
> still outstanding.
> 
> Attached is a rebased version, based on the posted v6, with a couple of 
> small fixups from me.
> 
> I haven't re-reviewed it yet, but from scanning the discussion, it looks 
> close to done.

After staring at this a few more times, I figured it was ready enough 
and I committed it.