aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-08-12 13:15:47 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-08-12 13:15:47 -0400
commit03c811a483b243952874d8e2b3f0c2e3793bc952 (patch)
tree0b55bd3212a7e94cc2c3368846b7dc01528e9589 /src/backend/utils/adt/xml.c
parent3c926587b5928795e54dfea65c712a604f63cdeb (diff)
downloadpostgresql-03c811a483b243952874d8e2b3f0c2e3793bc952.tar.gz
postgresql-03c811a483b243952874d8e2b3f0c2e3793bc952.zip
Fix planner's test for case-foldable characters in ILIKE with ICU.
As coded, the ICU-collation path in pattern_char_isalpha() failed to consider regular ASCII letters to be case-varying. This led to like_fixed_prefix treating too much of an ILIKE pattern as being a fixed prefix, so that indexscans derived from an ILIKE clause might miss entries that they should find. Per bug #15892 from James Inform. This is an oversight in the original ICU patch (commit eccfef81e), so back-patch to v10 where that came in. Discussion: https://postgr.es/m/15892-e5d2bea3e8a04a1b@postgresql.org
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions