Re: BUG #7867: Similarity function fails

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: michele(dot)baravalle(at)me(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7867: Similarity function fails
Date: 2013-02-12 00:44:51
Message-ID: 3103.1360629891@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

michele(dot)baravalle(at)me(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Noah Misch 2013-02-12 02:10:45 Re: BUG #7493: Postmaster messages unreadable in a Windows console
Previous Message Matti Aarnio 2013-02-12 00:04:43 Re: BUG #7865: Unexpected error code on insert of duplicate to composite primary key