mirror of
https://github.com/postgres/postgres.git
synced 2025-08-06 18:42:54 +03:00
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.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $PostgreSQL: pgsql/contrib/fuzzystrmatch/uninstall_fuzzystrmatch.sql,v 1.3 2007/11/13 04:24:28 momjian Exp $ */
|
||||
/* $PostgreSQL: pgsql/contrib/fuzzystrmatch/uninstall_fuzzystrmatch.sql,v 1.4 2008/04/03 21:13:07 tgl Exp $ */
|
||||
|
||||
-- Adjust this setting to control where the objects get dropped.
|
||||
SET search_path = public;
|
||||
@@ -15,4 +15,6 @@ DROP FUNCTION soundex(text);
|
||||
|
||||
DROP FUNCTION metaphone (text,int);
|
||||
|
||||
DROP FUNCTION levenshtein (text,text,int,int,int);
|
||||
|
||||
DROP FUNCTION levenshtein (text,text);
|
||||
|
Reference in New Issue
Block a user