Re: tiny step toward threading: reduce dependence on setlocale()

From: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Andreas Karlsson <andreas(at)proxel(dot)se>, Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: tiny step toward threading: reduce dependence on setlocale()
Date: 2025-10-28 09:24:46
Message-ID: CAFh8B=k4dW2e8HhJtGcbCY8rn7f=w6W8btav0HpfgyjfCFMC3g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Jeff,

On Fri, 24 Oct 2025 at 04:37, Jeff Davis <pgsql(at)j-davis(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2025-10-28 09:30:04 Re: Add uuid_to_base32hex() and base32hex_to_uuid() built-in functions
Previous Message Peter Eisentraut 2025-10-28 09:20:39 Re: [PATCH] Check that index can return in get_actual_variable_range()