On 11/08/2026 20:02, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
>> On 2026-08-11 12:41:49 +0300, Heikki Linnakangas wrote:
>>> Like the attached.
>
>> I wonder if we also ought to do something about the other uses of
>> pg_locale_t->info.lt in pg_locale_libc.c? That's at least strncoll_libc(),
>> strnxfrm_libc(). I think all the in-core callers guard them, but the
>> protection seems mighty far away in some cases.
>
> We don't have a lot of time to think about this, and AFAICS the
> security patch only added calls to pg_strupper and pg_strlower.
> So as long as those are protected I'm content to ship.
+1. It'd be good to look at those, but not right now.
I have pushed the fix.
- Heikki