Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id A7A95B5DBC0 for ; Wed, 28 Sep 2011 00:30:54 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 38340-09 for ; Wed, 28 Sep 2011 03:30:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id D7290B5D801 for ; Wed, 28 Sep 2011 00:30:47 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p8S3Ugn4028424; Tue, 27 Sep 2011 23:30:43 -0400 (EDT) To: "Dmitry Ryabov" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6230: strange changes in behavior of string functions In-reply-to: <201109280218.p8S2IVXh084294@wwwmaster.postgresql.org> References: <201109280218.p8S2IVXh084294@wwwmaster.postgresql.org> Comments: In-reply-to "Dmitry Ryabov" message dated "Wed, 28 Sep 2011 02:18:31 +0000" Date: Tue, 27 Sep 2011 23:30:42 -0400 Message-ID: <28423.1317180642@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/210 X-Sequence-Number: 31227 "Dmitry Ryabov" writes: > In the version 9.1 I was surprised to find that the function "upper" now is > not working as before. For example: > select upper ('SISTEM AYGıTLARı') = 'SISTEM AYGITLARI' > in postgresql 9.0 returns true, but in postgresql 9.1 - false. It sounds like you didn't use the same locale settings when creating your 9.1 database. Check LC_CTYPE and LC_COLLATE settings. regards, tom lane