Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U53zU-0000SK-Pr for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Feb 2013 00:44:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U53zU-0006Mh-76 for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Feb 2013 00:44:56 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U53zT-0006Mc-Is for pgsql-bugs@postgresql.org; Tue, 12 Feb 2013 00:44:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U53zR-00076D-9y for pgsql-bugs@postgresql.org; Tue, 12 Feb 2013 00:44:54 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r1C0ipIR003104; Mon, 11 Feb 2013 19:44:52 -0500 (EST) From: Tom Lane To: michele.baravalle@me.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7867: Similarity function fails In-reply-to: References: Comments: In-reply-to michele.baravalle@me.com message dated "Mon, 11 Feb 2013 16:09:44 +0000" Date: Mon, 11 Feb 2013 19:44:51 -0500 Message-ID: <3103.1360629891@sss.pgh.pa.us> 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 michele.baravalle@me.com writes: > Using this sql: > SELECT similarity('Круиз-контроль отключен', 'Круиз-контроль отключен'); > work well on Linux and Windows and the result is 1: on OSX the result is > NaN. I couldn't reproduce that on my own Mac. I tried it in ru_RU.UTF-8 and en_US.UTF-8 locales --- perhaps you are using something else? 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