Re: tiny step toward threading: reduce dependence on setlocale() - Mailing list pgsql-hackers

From Alexander Kukushkin
Subject Re: tiny step toward threading: reduce dependence on setlocale()
Date
Msg-id CAFh8B=k4dW2e8HhJtGcbCY8rn7f=w6W8btav0HpfgyjfCFMC3g@mail.gmail.com
Whole thread Raw
In response to Re: tiny step toward threading: reduce dependence on setlocale()  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
Hi Jeff,

On Fri, 24 Oct 2025 at 04:37, Jeff Davis <pgsql@j-davis.com> wrote:

Thank you, patch attached, intended for backport to 18.

I didn't check it with 18 because changes in regc_pg_locale.c heavily rely on 5a38104.
However, I think changes to pg_locale.c should be enough to fix the problem in 18.
 
Are you aware of any way to encounter this bug without using an
extension?

I don't think so, but it would be nice to have a test for it anyway.
Unfortunately this test will require a shared_preload_library module.

Regards,
--
Alexander Kukushkin

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] Check that index can return in get_actual_variable_range()
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: Add uuid_to_base32hex() and base32hex_to_uuid() built-in functions