Fix pg_iswcased() for some libc case mappings. Some C libraries, such as macOS libc, case-map characters that they do not classify as upper or lower. ILIKE index scans could then miss rows, because those characters stayed in the fixed prefix.
Introduced in 630706ced0. 43a948b7b25 fixed similar issues, but missed this one. Author: shihao zhong <[email protected]> Reviewed-by: Fujii Masao <[email protected]> Reviewed-by: Chao Li <[email protected]> Discussion: https://postgr.es/m/CAGRkXqS6pr-hG-g=k6rtdrw53snmzwz3ixvh_wi8rqlsf97...@mail.gmail.com Backpatch-through: 19 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/8474bae2ba4cf8c6e91db800a441daffe22098ee Modified Files -------------- src/backend/utils/adt/pg_locale_libc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
