postgresql/src/backend/tsearch
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
..
dicts Update copyright for 2019 2019-01-02 12:44:25 -05:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
dict.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
dict_ispell.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
dict_simple.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
dict_synonym.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
dict_thesaurus.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
regis.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
spell.c Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
to_tsany.c Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
ts_locale.c Fix t_isspace(), etc., when datlocprovider=i and datctype=C. 2023-03-17 12:08:46 -07:00
ts_parse.c Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
ts_selfuncs.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
ts_typanalyze.c Remove useless casts to (void *) in hash_search() calls 2023-02-06 09:41:01 +01:00
ts_utils.c Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
wparser.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
wparser_def.c Fix t_isspace(), etc., when datlocprovider=i and datctype=C. 2023-03-17 12:08:46 -07:00