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