Discussion:
BUG #7867: Similarity function fails
(too old to reply)
m***@me.com
2013-02-11 16:09:44 UTC
Permalink
The following bug has been logged on the website:

Bug reference: 7867
Logged by: Michele Baravalle
Email address: ***@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-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Tom Lane
2013-02-12 00:44:51 UTC
Permalink
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-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Loading...