Maximum length for levenshtein algorithm

Lists: pgsql-docs
From: p(dot)becker(at)the-library-code(dot)de
To: pgsql-docs(at)postgresql(dot)org
Subject: Maximum length for levenshtein algorithm
Date: 2017-06-12 22:19:10
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.2/static/fuzzystrmatch.html
Description:

While the documenation of the versions 9.5 and 9.6 states a maximum length
of 255 characters for the levenshtein algorithm's input, the documentation
of any previous version states a maximium of 255 bytes. I expect that this
hasn't change, but the documentation of older versions is wrong.


From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: p(dot)becker(at)the-library-code(dot)de, pgsql-docs(at)postgresql(dot)org
Subject: Re: Maximum length for levenshtein algorithm
Date: 2017-06-15 15:17:41
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-docs

On 6/12/17 18:19, p(dot)becker(at)the-library-code(dot)de wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.2/static/fuzzystrmatch.html
> Description:
>
> While the documenation of the versions 9.5 and 9.6 states a maximum length
> of 255 characters for the levenshtein algorithm&#39;s input, the documentation
> of any previous version states a maximium of 255 bytes. I expect that this
> hasn&#39;t change, but the documentation of older versions is wrong.

Yes, the older documentation was less correct.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services