Re: Small patch to improve safety of utf8_to_unicode(). - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Small patch to improve safety of utf8_to_unicode().
Date
Msg-id 592441c1d871a4ed0ac1708e132f447caa35869c.camel@j-davis.com
Whole thread
In response to Re: Small patch to improve safety of utf8_to_unicode().  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: Small patch to improve safety of utf8_to_unicode().
List pgsql-hackers
On Wed, 2026-06-24 at 16:44 +0800, Chao Li wrote:
> There is a compile warning against pg_wchar.h in 0004:

Fixed. I also used a loop in utf8decode() which is slightly smaller,
which is good if we intend it to be inlined by a lot of callers.

Regards,
    Jeff Davis


Attachment

pgsql-hackers by date:

Previous
From: "Tristan Partin"
Date:
Subject: Re: Add MIN/MAX aggregate support for uuid
Next
From: surya poondla
Date:
Subject: Re: Handle concurrent drop when doing whole database vacuum