Re: Configurable Penalty Costs for Levenshtein - Mailing list pgsql-patches

From Tom Lane
Subject Re: Configurable Penalty Costs for Levenshtein
Date
Msg-id 10528.1205287619@sss.pgh.pa.us
Whole thread Raw
In response to Re: Configurable Penalty Costs for Levenshtein  (Volkan YAZICI <yazicivo@ttnet.net.tr>)
Responses Re: Configurable Penalty Costs for Levenshtein  (Bruce Momjian <bruce@momjian.us>)
List pgsql-patches
Volkan YAZICI <yazicivo@ttnet.net.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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Memory leak in nodeAgg
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] BUG #3681: fillers are NULL in pgbench