Re: Speed up ICU case conversion by using ucasemap_utf8To*() - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: Speed up ICU case conversion by using ucasemap_utf8To*()
Date
Msg-id 118ca69e-47eb-42e1-83e9-72ccf40dd6fd@proxel.se
Whole thread Raw
In response to Re: Speed up ICU case conversion by using ucasemap_utf8To*()  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Speed up ICU case conversion by using ucasemap_utf8To*()
List pgsql-hackers
On 4/13/26 20:40, Jeff Davis wrote:
> Thank you both!

Thanks!

> Committed with minor revisions:
> 
> * also check the status code, just to be sure

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.

Andreas

Attachment

pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: EXCEPT TABLE - Case inconsistency for describe \d and \dRp+
Next
From: Andreas Karlsson
Date:
Subject: Re: Speed up ICU case conversion by using ucasemap_utf8To*()