Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSoM0-0008BG-DI for pgsql-bugs@arkaria.postgresql.org; Wed, 26 Mar 2014 13:58:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WSoLz-0006mX-TZ for pgsql-bugs@arkaria.postgresql.org; Wed, 26 Mar 2014 13:58:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSoLy-0006mK-Ua for pgsql-bugs@postgresql.org; Wed, 26 Mar 2014 13:58:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSoLw-0006W2-65 for pgsql-bugs@postgresql.org; Wed, 26 Mar 2014 13:58:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s2QDwZ81020661; Wed, 26 Mar 2014 09:58:37 -0400 From: Tom Lane To: Martin Vassilev cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9722: select ILIKE is not case insensitive in UTF8 cyrillic In-reply-to: <2263533.y3eBCCWX9p@mv-office> References: <20140325130316.13982.32775@wrigleys.postgresql.org> <12952.1395757275@sss.pgh.pa.us> <2263533.y3eBCCWX9p@mv-office> Comments: In-reply-to Martin Vassilev message dated "Wed, 26 Mar 2014 09:55:21 +0200" Date: Wed, 26 Mar 2014 09:58:35 -0400 Message-ID: <20660.1395842315@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Martin Vassilev writes: > Hi Tom, >> Perhaps you don't have the database locale/encoding set correctly? >> (Look at the lc_collate and lc_ctype settings, and compare to what >> you were using in 8.4.) > the 8.4 setup is gone :( That's not a reason not to identify what you've got now. > Here is my locale settings: > ~# locale > LANG=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_COLLATE=C This is your shell environment, which may or may not have much to do with what Postgres is using: you need to look at the lc_collate and lc_ctype parameters for each database. However, it would not surprise me at all if an en_US setting doesn't case-fold Cyrillic characters --- and a C setting most certainly wouldn't. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs