summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2013-02-13 19:07:26 +0000
committerTom Lane2013-02-13 19:07:26 +0000
commit697f5cadf5d81eeee3f3018d711ef33261dc7cd5 (patch)
tree3c736f0a8e9eb1e8f4e707db6b7a9d5607003eb6 /doc/src
parent06af3f96568646e7f878622bfa6e73f9eaa5f3f0 (diff)
Fix contrib/pg_trgm's similarity() function for trigram-free strings.
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.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions