Re: Configurable Penalty Costs for Levenshtein

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Configurable Penalty Costs for Levenshtein
Date: 2008-03-12 02:06:59
Message-ID: 10528.1205287619@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr> writes:
> I noticed a small typo in the patch.
> prev = palloc((m + n) * sizeof(char));
> line should look like
> prev = palloc(2 * m * sizeof(char));
> instead.

If that's wrong, aren't the comments and the length restriction limit
also wrong?

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Richard Wang 2008-03-12 02:37:34 bug in numeric_power() function
Previous Message Bruce Momjian 2008-03-12 01:35:08 Re: Memory leak in nodeAgg