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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/00f11f419caa873b44d70071d4ade0b8c75e7f36
Modified Files
--------------
src/backend/utils/adt/like.c | 80 +++++++++++++++++++++++++++++-------
src/backend/utils/adt/like_match.c | 12 +++--
2 files changed, 72 insertions(+), 20 deletions(-)