postgresql/src/backend/tsearch
Jeff Davis 8b87e92919 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:07:47 -07:00
..
dicts Update copyright for 2019 2019-01-02 12:44:25 -05:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00
dict.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
dict_ispell.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
dict_simple.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
dict_synonym.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
dict_thesaurus.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
regis.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
spell.c Defend against stack overrun in a few more places. 2022-08-24 13:02:19 -04:00
to_tsany.c Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
ts_locale.c Fix t_isspace(), etc., when datlocprovider=i and datctype=C. 2023-03-17 12:07:47 -07:00
ts_parse.c Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline. 2022-11-21 17:07:07 -05:00
ts_selfuncs.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
ts_typanalyze.c Invent qsort_interruptible(). 2022-07-12 16:30:36 -04:00
ts_utils.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
wparser.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
wparser_def.c Fix t_isspace(), etc., when datlocprovider=i and datctype=C. 2023-03-17 12:07:47 -07:00