]> granicus.if.org Git - postgresql/commit
Fix ILIKE to honor collation when working in single-byte encodings.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 9 Apr 2011 21:12:39 +0000 (17:12 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 9 Apr 2011 21:12:39 +0000 (17:12 -0400)
commit00f11f419caa873b44d70071d4ade0b8c75e7f36
treee40852e2cb1310802d47c5b4eab003e775e9ed99
parentf89e4dfa755b9c9be9c19f7c65cff50d47b4f33a
Fix ILIKE to honor collation when working in single-byte encodings.

The original collation patch only fixed the multi-byte code path.
This change also ensures that ILIKE's idea of the case-folding rules
is exactly the same as str_tolower's.
src/backend/utils/adt/like.c
src/backend/utils/adt/like_match.c