pgsql: Fix ILIKE to honor collation when working in single-byte encodin - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix ILIKE to honor collation when working in single-byte encodin
Date
Msg-id E1Q8fSf-00087n-Nb@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: achernow@pgfoundry.org (User Achernow)
Date:
Subject: libpqtypes - libpqtypes: added PQparamDup to duplicate an existing
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Add collation support on Windows (MSVC build)