On Wed, Nov 12, 2014 at 8:00 PM, Peter Geoghegan <pg@heroku.com> wrote:
> On Wed, Nov 12, 2014 at 4:54 PM, Peter Geoghegan <pg@heroku.com> wrote:
>> Attached patch moves the Levenshtein distance implementation into core.
>
> Oops. Somehow managed to send a *.patch.swp file. :-)
>
> Here is the actual patch.
Committed. I changed varstr_leven() to varstr_levenshtein() because
abbrvs cn mk the code hrd to undstnd. And to grep. And I removed the
StaticAssertStmt you added, because it's not actually used for
anything that necessitates that, yet.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company