Re: Small patch to improve safety of utf8_to_unicode().

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Small patch to improve safety of utf8_to_unicode().
Date: 2026-07-16 21:47:17
Message-ID: 6a8164c5a98e45cd566e3f9bf88f0436de2a0dbb.camel@j-davis.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2026-07-15 at 18:25 -0400, Tom Lane wrote:
> Master seems sufficient.

In that case I did a bit of refactoring to clean it up and put it in a
new unicode_limits.h header.

Regards,
Jeff Davis

Attachment Content-Type Size
v2-0001-Generate-unicode_limits.h.patch text/x-patch 17.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Logan Saso 2026-07-16 21:55:37 [PATCH] Ignore duplicate IS [NOT] NULL clauses in clauselist_selectivity()
Previous Message Michael Paquier 2026-07-16 21:35:07 Re: pgstat: add pgstat_prep_pending() for entry ref pending setup