Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSr1p-00067C-UM for pgsql-bugs@arkaria.postgresql.org; Wed, 26 Mar 2014 16:50:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WSr1p-0003Om-9n for pgsql-bugs@arkaria.postgresql.org; Wed, 26 Mar 2014 16:50:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSps6-0000eX-2z for pgsql-bugs@postgresql.org; Wed, 26 Mar 2014 15:36:06 +0000 Received: from mail.net-surf.net ([178.254.192.31]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSprx-0008Pv-5C for pgsql-bugs@postgresql.org; Wed, 26 Mar 2014 15:36:03 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.net-surf.net (Postfix) with ESMTP id A74AC11E856; Wed, 26 Mar 2014 15:35:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at net-surf.net Received: from mail.net-surf.net ([127.0.0.1]) by localhost (mail.net-surf.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tPvnkd3zrdpR; Wed, 26 Mar 2014 17:35:55 +0200 (EET) Received: from mv-office.localnet (unknown [178.254.192.30]) by mail.net-surf.net (Postfix) with ESMTPA id C459211E0D8; Wed, 26 Mar 2014 15:35:54 +0000 (UTC) From: Martin Vassilev To: Tom Lane Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9722: select ILIKE is not case insensitive in UTF8 cyrillic Date: Wed, 26 Mar 2014 17:35:44 +0200 Message-ID: <2539030.MTBRJ6mVrk@mv-office> User-Agent: KMail/4.8.5 (Linux/3.10.9-MV; KDE/4.8.5; x86_64; ; ) In-Reply-To: <20660.1395842315@sss.pgh.pa.us> References: <20140325130316.13982.32775@wrigleys.postgresql.org> <2263533.y3eBCCWX9p@mv-office> <20660.1395842315@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-Pg-Spam-Score: -1.9 (-) 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 On Wednesday, March 26, 2014 09:58:35 Tom Lane wrote: > 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. > I just recreated DB with --lc-collate=bg_BG.utf8 --lc-ctype=bg_BG.utf8 and it is fine now. Thanks for support. -- Best regards , Martin Vassilev Network/System Administrator Net-Surf.net Ltd. phone: + 359 96 399994 e-mail: mv@netsurf.bg http://www.netsurf.bg -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs