pgsql: Move the guts of our Levenshtein implementation into core.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move the guts of our Levenshtein implementation into core.
Date: 2014-11-13 17:36:26
Message-ID: E1XoyJm-0005zg-Dd@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Move the guts of our Levenshtein implementation into core.

The hope is that we can use this to produce better diagnostics in
some cases.

Peter Geoghegan, reviewed by Michael Paquier, with some further
changes by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c0828b78e930a4e085ec52f19fdc850104cb0659

Modified Files
--------------
contrib/fuzzystrmatch/Makefile | 3 -
contrib/fuzzystrmatch/fuzzystrmatch.c | 82 +++++--
contrib/fuzzystrmatch/levenshtein.c | 403 ---------------------------------
src/backend/utils/adt/Makefile | 2 +
src/backend/utils/adt/levenshtein.c | 386 +++++++++++++++++++++++++++++++
src/backend/utils/adt/varlena.c | 22 +-
src/include/utils/builtins.h | 5 +
7 files changed, 471 insertions(+), 432 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2014-11-13 17:46:42 pgsql: Tweak row-level locking documentation
Previous Message Peter Eisentraut 2014-11-13 16:59:46 pgsql: doc: Add index entry for "hypothetical-set aggregate"