BUG #7867: Similarity function fails

Started by Nonameabout 13 years ago2 messagesbugs
Jump to latest
#1Noname
michele.baravalle@me.com

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:

Using this sql:

SELECT similarity('Круиз-контроль отключен', 'Круиз-контроль отключен');

work well on Linux and Windows and the result is 1: on OSX the result is
NaN.

Thanks

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Noname (#1)
Re: BUG #7867: Similarity function fails

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