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(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.