Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U4ylX-00060c-Ut for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Feb 2013 19:10:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U4ylX-0008ND-6C for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Feb 2013 19:10:11 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U4vwy-0008Li-0L for pgsql-bugs@postgresql.org; Mon, 11 Feb 2013 16:09:48 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U4vww-0007ep-8k for pgsql-bugs@postgresql.org; Mon, 11 Feb 2013 16:09:47 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U4vwu-0004Xt-LJ for pgsql-bugs@postgresql.org; Mon, 11 Feb 2013 16:09:46 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1U4vwu-0003NT-4A for pgsql-bugs@postgresql.org; Mon, 11 Feb 2013 16:09:44 +0000 Date: Mon, 11 Feb 2013 16:09:44 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7867: Similarity function fails To: pgsql-bugs@postgresql.org From: michele.baravalle@me.com 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 The following bug has been logged on the website: Bug reference: 7867 Logged by: Michele Baravalle Email address: michele.baravalle@me.com PostgreSQL version: 9.2.3 Operating system: Mac OSX 10.8 Description:=20=20=20=20=20=20=20=20 Using this sql: SELECT similarity('=D0=9A=D1=80=D1=83=D0=B8=D0=B7-=D0=BA=D0=BE=D0=BD=D1=82= =D1=80=D0=BE=D0=BB=D1=8C =D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD',= '=D0=9A=D1=80=D1=83=D0=B8=D0=B7-=D0=BA=D0=BE=D0=BD=D1=82=D1=80=D0=BE=D0=BB= =D1=8C =D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD'); work well on Linux and Windows and the result is 1: on OSX the result is NaN. Thanks --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs