Add a variant of the Levenshtein string-distance function that lets the user
Tom Lane <tgl@sss.pgh.pa.us>
Add a variant of the Levenshtein string-distance function that lets the user specify the cost values to use, instead of always using 1's. Volkan Yazici In passing, remove fuzzystrmatch.h, which contained a bunch of stuff that had no business being in a .h file; fold it into its only user, fuzzystrmatch.c.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/fuzzystrmatch/fuzzystrmatch.c | modified | +218 −123 |
| contrib/fuzzystrmatch/fuzzystrmatch.h | deleted | +0 −171 |
| contrib/fuzzystrmatch/fuzzystrmatch.sql.in | modified | +5 −1 |
| contrib/fuzzystrmatch/uninstall_fuzzystrmatch.sql | modified | +3 −1 |
| doc/src/sgml/fuzzystrmatch.sgml | modified | +13 −3 |