Fix for fuzzystrmatch

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Fix for fuzzystrmatch
Date: 2011-02-19 20:39:27
Message-ID: AANLkTinOukyEMXzLw2EeXyC=ko2ABUCQynnu5+e+ou_X@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
fuzzystrmatch_fix.patch text/x-patch 880 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2011-02-19 20:43:22 Re: Proposal: collect frequency statistics for arrays
Previous Message Peter Eisentraut 2011-02-19 20:17:03 Re: Snapshot synchronization, again...