OSDN Git Service

Change ILIKE to invoke lower() and then do plain LIKE comparison when
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Sep 2006 18:32:55 +0000 (18:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Sep 2006 18:32:55 +0000 (18:32 +0000)
commitad004ce7876ea2998c9c13007c7dd3dd8f9ffcad
tree863d32c85ff6e2f0f07c31be9f7ca677d5c0caea
parent6dc920de59b03d9510f696616f6058fabf7bfda2
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.
src/backend/utils/adt/like.c