pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #7867: Similarity function fails
2+ messages / 2 participants
[nested] [flat]

* BUG #7867: Similarity function fails
@ 2013-02-11 16:09 michele.baravalle@me.com
  2013-02-12 00:44 ` Re: BUG #7867: Similarity function fails Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: michele.baravalle@me.com @ 2013-02-11 16:09 UTC (permalink / raw)
  To: pgsql-bugs

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #7867: Similarity function fails
  2013-02-11 16:09 BUG #7867: Similarity function fails michele.baravalle@me.com
@ 2013-02-12 00:44 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2013-02-12 00:44 UTC (permalink / raw)
  To: michele.baravalle@me.com; +Cc: pgsql-bugs

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2013-02-12 00:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-02-11 16:09 BUG #7867: Similarity function fails michele.baravalle@me.com
2013-02-12 00:44 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox