| From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
|---|---|
| To: | Александр Кожемякин <a(dot)kozhemyakin(at)postgrespro(dot)ru>, Peter Eisentraut <peter(at)eisentraut(dot)org>, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com> |
| Cc: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Remaining dependency on setlocale() |
| Date: | 2026-01-21 19:30:14 |
| Message-ID: | eb7e194b3ae2386988dae4b5a7cee128c3f0a628.camel@j-davis.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 | Content-Type | Size |
|---|---|---|
| v1-0001-Fix-crash-introduced-by-incorrect-backport-806555.patch | text/x-patch | 3.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alexander Lakhin | 2026-01-21 20:00:00 | Re: Undefined behavior detected by new clang's ubsan |
| Previous Message | Matheus Alcantara | 2026-01-21 19:26:14 | Re: support ALTER COLUMN SET EXPRESSION over virtual generated column with check constraint |