Re: Speed up ICU case conversion by using ucasemap_utf8To*()

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Jeff Davis <pgsql(at)j-davis(dot)com>, Alexander Lakhin <exclusion(at)gmail(dot)com>, zengman <zengman(at)halodbtech(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Speed up ICU case conversion by using ucasemap_utf8To*()
Date: 2026-04-14 00:28:41
Message-ID: 79711ab8-9c54-4574-9705-21ae7ca0b551@proxel.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 4/14/26 02:20, Andreas Karlsson wrote:
> If we do that shouldn't we also do the same in the other callsites in
> initdb.c uloc_getLanguage()? Maybe something like the attached. Also I
> wonder if maybe other ICU functions have the same risk.

Now attached without a stupid typo.

Andreas

Attachment Content-Type Size
v2-0001-Always-check-for-untermianted-strings-when-callin.patch text/x-patch 1.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2026-04-14 00:39:04 Re: Add missing period to HINT messages
Previous Message Andreas Karlsson 2026-04-14 00:20:25 Re: Speed up ICU case conversion by using ucasemap_utf8To*()