]> granicus.if.org Git - postgresql/commit
Move the guts of our Levenshtein implementation into core.
authorRobert Haas <rhaas@postgresql.org>
Thu, 13 Nov 2014 17:25:10 +0000 (12:25 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 13 Nov 2014 17:33:26 +0000 (12:33 -0500)
commitc0828b78e930a4e085ec52f19fdc850104cb0659
tree23e68c0c19b7016e95b8acf177124dd5b6cf7111
parent1d69ae419d04fa7919fa282224a566499f3a0fd0
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.
contrib/fuzzystrmatch/Makefile
contrib/fuzzystrmatch/fuzzystrmatch.c
src/backend/utils/adt/Makefile
src/backend/utils/adt/levenshtein.c [moved from contrib/fuzzystrmatch/levenshtein.c with 85% similarity]
src/backend/utils/adt/varlena.c
src/include/utils/builtins.h