This has been saved for the 8.4 release:

        http://momjian.postgresql.org/cgi-bin/pgpatches_hold

---------------------------------------------------------------------------

Volkan YAZICI wrote:
> Hi,
> 
> Following patch implements configurable penalty costs for levenshtein
> distance metric in fuzzystrmatch contrib module.
> 
> It doesn't introduce any compatibility issues. Just implements
> 
>   levenshtein(text,text,int,int,int)
> 
> function on top of fuzzystrmatch.c:levenshtein_internal(). At the
> same time, levenshtein(text,text) becomes just a wrapper for
> levenshtein(text,text,1,1,1) call.
> 
> BTW, in current CVS tip
> 
>   if (cols/rows == 0) ...
> 
> checks in fuzzyztrmatch.c:levenshtein() never fail because of
> 
>   cols/rows = strlen(...) + 1;
> 
> FYI.
> 
> 
> Regards.

Content-Description: Configurable Penalty Costs for Levenshtein


> 
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
> 
>                 http://www.postgresql.org/about/donate

-- 
  Bruce Momjian  <[EMAIL PROTECTED]>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to