Skip site navigation (1) Skip section navigation (2)

pgsql: Change ILIKE to invoke lower() and then do plain LIKE comparison

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change ILIKE to invoke lower() and then do plain LIKE comparison
Date: 2006-09-04 18:32:56
Message-ID: 20060904183256.0F2C89FB2F4@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Change ILIKE to invoke lower() and then do plain LIKE comparison when
working in a multibyte encoding.  This fixes the problems exhibited in
bug #1931 and other reports of ILIKE misbehavior in UTF8 encoding.
It's a pretty grotty solution though --- should rethink how to do it
after we install better locale support, someday.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        like.c (r1.64 -> r1.65)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/like.c.diff?r1=1.64&r2=1.65)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2006-09-04 19:29:19
Subject: pgsql: Backpatch to 8.1.X fix for to_timestamp() where "PM/AM"
Previous:From: User H-saitoDate: 2006-09-04 18:14:24
Subject: npgsql - Npgsql: addendum of Japanese resource(resx).

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group