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

From: zengman <zengman(at)halodbtech(dot)com>
To: Andreas Karlsson <andreas(at)proxel(dot)se>, Jeff Davis <pgsql(at)j-davis(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Speed up ICU case conversion by using ucasemap_utf8To*()
Date: 2025-12-31 02:36:05
Message-ID: tencent_32015AAF279D4D696813121C@qq.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Andreas,

On the mailing list, I've noticed this patch. I tested its functionality and it works really well. I have a few minor, non-critical comments to share.
In the `pg_ucasemap_open` function, the error message `casemap lookup failed:` doesn't seem ideal. This is because we're opening the `UCaseMap` here, rather than performing a "lookup" operation.
In the comment `Additional makes sure we get the right options for case folding.`, the word Additional seems inappropriate — `Additionally` would be a better replacement.

--
Regards,
Man Zeng
www.openhalo.org

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2025-12-31 02:57:14 Re: disallow alter individual column if partition key contains wholerow reference
Previous Message Chao Li 2025-12-31 02:32:17 Re: Wrong comment for ReplicationSlotCreate