Re: Remaining dependency on setlocale() - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Remaining dependency on setlocale()
Date
Msg-id eb7e194b3ae2386988dae4b5a7cee128c3f0a628.camel@j-davis.com
Whole thread Raw
In response to Re: Remaining dependency on setlocale()  (Александр Кожемякин <a.kozhemyakin@postgrespro.ru>)
Responses Re: Remaining dependency on setlocale()
List pgsql-hackers
On Tue, 2026-01-20 at 12:27 +0700, Александр Кожемякин wrote:
> When executing the following query on branch REL_18_STABLE (first bad
> commit 806555e)

Thank you for the report!

The issue is that the commit in master was dependent on a refactoring
patch, which allowed pg_strfold() to work on any pg_locale_t object,
even if ctype_is_c. Version 18 doesn't have that commit, so it crashed.

It seems to be fine in master, and it was only backported to 18, so the
attached patch is only intended for REL_18_STABLE.

Regards,
    Jeff Davis


Attachment

pgsql-hackers by date:

Previous
From: Matheus Alcantara
Date:
Subject: Re: support ALTER COLUMN SET EXPRESSION over virtual generated column with check constraint
Next
From: Alexander Lakhin
Date:
Subject: Re: Undefined behavior detected by new clang's ubsan