From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | Jeff Davis <pgsql(at)j-davis(dot)com> |
Cc: | Peter Eisentraut <peter(at)eisentraut(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Remaining dependency on setlocale() |
Date: | 2025-07-10 00:01:12 |
Message-ID: | CA+hUKG+V4SR5hW2yUEAbp7CADVn=1FZb=mE_tQkt5UsHYg9dJA@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Jul 8, 2025 at 1:14 PM Jeff Davis <pgsql(at)j-davis(dot)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).
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2025-07-10 00:52:45 | Re: TransactionIdIsActive() has long been unused |
Previous Message | Jacob Champion | 2025-07-09 23:54:02 | Re: [PoC] Federated Authn/z with OAUTHBEARER |