Re: Speed up ICU case conversion by using ucasemap_utf8To*()
zengman <zengman@halodbtech.com>
From: zengman <zengman@halodbtech.com>
To: Andreas Karlsson <andreas@proxel.se>, Jeff Davis <pgsql@j-davis.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-01-03T03:05:24Z
Lists: pgsql-hackers
> Here is a version 4 of the patch which uses the fact that we have method > tables to remove one level of indirection. I am not sure the extra lines > of codes are worth it but on the other hand despite 40 more lines the > code became easier to read to me. What do you think? I don't have any major objections, but I noticed a few minor details that might need a bit more tweaking. `signficant` -> `significant` `realtively` -> `relatively` `if (status != U_BUFFER_OVERFLOW_ERROR && U_FAILURE(status))` -> `if (U_FAILURE(status) && status != U_BUFFER_OVERFLOW_ERROR)` -- Regards, Man Zeng www.openhalo.org
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