pgsql: Move the guts of our Levenshtein implementation into core. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Move the guts of our Levenshtein implementation into core.
Date
Msg-id E1XoyJm-0005zg-Dd@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Add index entry for "hypothetical-set aggregate"
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Tweak row-level locking documentation