| From: | Jeff Davis <jdavis(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: unicode_case.c: change API to signal UTF8 decoding error. |
| Date: | 2026-07-07 22:34:23 |
| Message-ID: | E1whEMw-0003dM-2u@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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 <li(dot)evan(dot)chao(at)gmail(dot)com>
Reviewed-by: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Discussion: https://postgr.es/m/c355354e6c3f4a7aafb047361b73db247260fca0.camel@j-davis.com
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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard Guo | 2026-07-07 23:51:50 | pgsql: Fix EXPLAIN failure when deparsing SQL/JSON aggregates |
| Previous Message | Heikki Linnakangas | 2026-07-07 22:17:23 | pgsql: Remove unused tuple fetch in speculative completion |