mirror of https://github.com/postgres/postgres
Cases such as similarity('', '') produced a NaN result due to computing
0/0. Per discussion, make it return zero instead.
This appears to be the basic cause of bug #7867 from Michele Baravalle,
although it remains unclear why her installation doesn't think Cyrillic
letters are letters.
Back-patch to all active branches.
REL9_1_STABLE
parent
52c889ea4f
commit
f73a16340c
Loading…
Reference in new issue