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(-)
