Fix for fuzzystrmatch
Fix for fuzzystrmatch
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.
Re: Fix for fuzzystrmatch
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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 is attached. Applied, thanks. regards, tom lane