Re: bug: fuzzystrmatch levenshtein is wrong - Mailing list pgsql-hackers

From marcin mank
Subject Re: bug: fuzzystrmatch levenshtein is wrong
Date
Msg-id b1b9fac60912072337m4c0fefcbo979bbd668a67c5ba@mail.gmail.com
Whole thread Raw
In response to Re: bug: fuzzystrmatch levenshtein is wrong  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, Dec 8, 2009 at 4:10 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> The current behavior of levenshtein(text,text,int,int,int) is wrong. Consider:
>
> Is this the same problem as bug #5098?

Yes. Exact same change, plus the shortcut evaluation (for when one of
the inputs is empty) was also wrong. I fixed that too.

Greetings
Maricn Mańk


pgsql-hackers by date:

Previous
From: Florian Weimer
Date:
Subject: Re: YAML Was: CommitFest status/management
Next
From: Heikki Linnakangas
Date:
Subject: Streaming replication, some small issues