Fix for fuzzystrmatch - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Fix for fuzzystrmatch
Date
Msg-id AANLkTinOukyEMXzLw2EeXyC=ko2ABUCQynnu5+e+ou_X@mail.gmail.com
Whole thread Raw
Responses Re: Fix for fuzzystrmatch
List pgsql-hackers
Hacker,

I found two issues in fuzzystrmatch contrib.
1) Incorrect s_data shift in levenshtein calculation with threshold with multibyte characters. "i" index was used instead of "start_column".
2) Missing dependency of fuzzystrmatch.o on levenshtein.c

Patch is attached.

------
With best regards,
Alexander Korotkov.
Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Snapshot synchronization, again...
Next
From: Alexander Korotkov
Date:
Subject: Re: Proposal: collect frequency statistics for arrays