Re: Speed up ICU case conversion by using ucasemap_utf8To*()
Jeff Davis <pgsql@j-davis.com>
From: Jeff Davis <pgsql@j-davis.com>
To: Andreas Karlsson <andreas@proxel.se>, Alexander Lakhin
<exclusion@gmail.com>, zengman <zengman@halodbtech.com>, pgsql-hackers
<pgsql-hackers@postgresql.org>
Date: 2026-04-14T21:49:34Z
Lists: pgsql-hackers
On Tue, 2026-04-14 at 02:28 +0200, Andreas Karlsson wrote: > 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. Committed, thank you. Regards, Jeff Davis
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Check for unterminated strings when calling uloc_getLanguage().
- dacd8fa6f259 19 (unreleased) landed
- ca938ec213d9 18.4 landed
- a756067a0e3b 17.10 landed
- 8167371704bd 16.14 landed
-
Fix overrun when comparing with unterminated ICU language string.
- 6393259bd49d 18.4 landed
- 06ce97b9994e 19 (unreleased) landed
-
ICU: use UTF8-optimized case conversion API
- c4ff35f10441 19 (unreleased) landed