Re: Levenshtein Distance with more than 255 characters

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Janek Sendrowski <janek12(at)web(dot)de>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: Levenshtein Distance with more than 255 characters
Date: 2013-09-07 11:39:53
Message-ID: CAB7nPqSwYwuRsO4X5VmfKpsbBVkLYKzo-MO495iYgeYaS7vSBA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Sep 7, 2013 at 6:28 AM, Janek Sendrowski <janek12(at)web(dot)de> wrote:
> Do you know the destination. I cant find it.
Here it is:
$ find . -name "*.[c|h]" | xgrep MAX_LEVENSHTEIN_STRLEN
./contrib/fuzzystrmatch/levenshtein.c:#define MAX_LEVENSHTEIN_STRLEN 255
./contrib/fuzzystrmatch/levenshtein.c: if (m > MAX_LEVENSHTEIN_STRLEN ||
./contrib/fuzzystrmatch/levenshtein.c: n > MAX_LEVENSHTEIN_STRLEN)
./contrib/fuzzystrmatch/levenshtein.c:
MAX_LEVENSHTEIN_STRLEN)));
--
Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2013-09-07 14:20:16 Re: Constraint exclusion and overlapping range checks
Previous Message Michael Paquier 2013-09-07 11:33:42 Re: [GENERAL] Call for design: PostgreSQL mugs