public inbox for [email protected]  
help / color / mirror / Atom feed
From: Jeff Davis <[email protected]>
To: [email protected]
Subject: pgsql: unicode_case.c: change API to signal UTF8 decoding error.
Date: Tue, 07 Jul 2026 22:34:23 +0000
Message-ID: <[email protected]> (raw)

unicode_case.c: change API to signal UTF8 decoding error.

Errors at this point are not expected, but if encountered, signal to
the caller so it can raise the appropriate error.

Reviewed-by: Chao Li <[email protected]>
Reviewed-by: Ayush Tiwari <[email protected]>
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/07211f64ace0150c92a00769a1cfe8b9305b9e78

Modified Files
--------------
src/backend/utils/adt/pg_locale_builtin.c | 50 +++++++++++++++++++++++++------
src/common/unicode/case_test.c            | 37 ++++++++++++++---------
src/common/unicode_case.c                 | 46 +++++++++++++++-------------
src/include/common/unicode_case.h         |  8 ++---
4 files changed, 94 insertions(+), 47 deletions(-)



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: unicode_case.c: change API to signal UTF8 decoding error.
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox