diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-08-12 13:15:47 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-08-12 13:15:47 -0400 |
commit | c0c12ce391d89328640dd948b82466c308d85415 (patch) | |
tree | a1464fc01f8f47834f445e55fb5e22a46056e44a /src/backend/access/gist/gistproc.c | |
parent | de0dc0b758ed7452ceee756d9d620c4393b3cb53 (diff) | |
download | postgresql-c0c12ce391d89328640dd948b82466c308d85415.tar.gz postgresql-c0c12ce391d89328640dd948b82466c308d85415.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/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions