postgresql/contrib/unaccent
Jeff Davis f413941f41 Fix t_isspace(), etc., when datlocprovider=i and datctype=C.
Check whether the datctype is C to determine whether t_isspace() and
related functions use isspace() or iswspace().

Previously, t_isspace() checked whether the database default collation
was C; which is incorrect when the default collation uses the ICU
provider.

Discussion: https://postgr.es/m/79e4354d9eccfdb00483146a6b9f6295202e7890.camel@j-davis.com
Reviewed-by: Peter Eisentraut
Backpatch-through: 15
2023-03-17 12:08:46 -07:00
..
expected Fix t_isspace(), etc., when datlocprovider=i and datctype=C. 2023-03-17 12:08:46 -07:00
sql Fix t_isspace(), etc., when datlocprovider=i and datctype=C. 2023-03-17 12:08:46 -07:00
.gitignore Add support for automatically updating Unicode derived files 2020-01-09 10:08:14 +01:00
Makefile Make update-unicode target work in vpath builds 2022-03-25 09:47:50 +01:00
generate_unaccent_rules.py Simplify a bit the special rules generating unaccent.rules 2022-07-05 16:17:51 +09:00
meson.build initdb: derive encoding from locale for ICU; similar to libc. 2023-03-10 10:51:24 -08:00
unaccent--1.0--1.1.sql Update unaccent extension for parallel query. 2016-06-14 14:55:49 -04:00
unaccent--1.1.sql Update unaccent extension for parallel query. 2016-06-14 14:55:49 -04:00
unaccent.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
unaccent.control Mark some contrib modules as "trusted". 2020-02-13 15:02:35 -05:00
unaccent.rules Re-update Unicode data to CLDR 39 2022-03-10 14:09:21 +01:00