pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix pg_iswcased() for some libc case mappings. 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix pg_iswcased() for some libc case mappings. @ 2026-10-26 22:12 Jeff Davis <jdavis@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Jeff Davis @ 2026-10-26 22:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 <zhong950419@gmail.com> Reviewed-by: Fujii Masao <masao.fujii@gmail.com> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Discussion: https://postgr.es/m/CAGRkXqS6pr-hG-g=K6RTdRw53SnMZWz3iXvh_wi8rqLSf972sA@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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix pg_iswcased() for some libc case mappings. @ 2026-10-26 22:12 Jeff Davis <jdavis@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Jeff Davis @ 2026-10-26 22:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 <zhong950419@gmail.com> Reviewed-by: Fujii Masao <masao.fujii@gmail.com> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Discussion: https://postgr.es/m/CAGRkXqS6pr-hG-g=K6RTdRw53SnMZWz3iXvh_wi8rqLSf972sA@mail.gmail.com Backpatch-through: 19 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/75a5fef57d09d75cc082fc6ffe817fc0772ef89a Modified Files -------------- src/backend/utils/adt/pg_locale_libc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-10-26 22:12 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-10-26 22:12 pgsql: Fix pg_iswcased() for some libc case mappings. Jeff Davis <jdavis@postgresql.org> 2026-10-26 22:12 pgsql: Fix pg_iswcased() for some libc case mappings. Jeff Davis <jdavis@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox