Re: [HACKERS] Fix for fuzzystrmatch

2011-02-20 Thread Tom Lane
Alexander Korotkov writes: > 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

[HACKERS] Fix for fuzzystrmatch

2011-02-19 Thread Alexander Korotkov
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,