summaryrefslogtreecommitdiff
path: root/contrib/fuzzystrmatch
diff options
context:
space:
mode:
authorPeter Eisentraut2006-02-27 12:54:39 +0000
committerPeter Eisentraut2006-02-27 12:54:39 +0000
commitfe83b3ebc6b8d65fbb14100bdc476b7dbc32454c (patch)
tree33659142c317fc19ac4db5d70e8883e47a0c7821 /contrib/fuzzystrmatch
parentd46fbef386b88d062bb0b00f17cbcf97f58ec821 (diff)
contrib uninstall scripts
by David Fetter
Diffstat (limited to 'contrib/fuzzystrmatch')
-rw-r--r--contrib/fuzzystrmatch/Makefile3
-rw-r--r--contrib/fuzzystrmatch/uninstall_fuzzystrmatch.sql16
2 files changed, 18 insertions, 1 deletions
diff --git a/contrib/fuzzystrmatch/Makefile b/contrib/fuzzystrmatch/Makefile
index 9765654766..3f27311353 100644
--- a/contrib/fuzzystrmatch/Makefile
+++ b/contrib/fuzzystrmatch/Makefile
@@ -1,9 +1,10 @@
-# $PostgreSQL: pgsql/contrib/fuzzystrmatch/Makefile,v 1.6 2005/09/27 17:13:03 tgl Exp $
+# $PostgreSQL: pgsql/contrib/fuzzystrmatch/Makefile,v 1.7 2006/02/27 12:54:38 petere Exp $
MODULE_big = fuzzystrmatch
SRCS += fuzzystrmatch.c dmetaphone.c
OBJS = $(SRCS:.c=.o)
DATA_built = fuzzystrmatch.sql
+DATA = uninstall_fuzzystrmatch.sql
DOCS = README.fuzzystrmatch README.soundex
ifdef USE_PGXS
diff --git a/contrib/fuzzystrmatch/uninstall_fuzzystrmatch.sql b/contrib/fuzzystrmatch/uninstall_fuzzystrmatch.sql
new file mode 100644
index 0000000000..ee377e47b4
--- /dev/null
+++ b/contrib/fuzzystrmatch/uninstall_fuzzystrmatch.sql
@@ -0,0 +1,16 @@
+-- Adjust this setting to control where the objects get created.
+SET search_path = public;
+
+DROP FUNCTION dmetaphone_alt (text);
+
+DROP FUNCTION dmetaphone (text);
+
+DROP FUNCTION difference(text,text);
+
+DROP FUNCTION text_soundex(text);
+
+DROP FUNCTION soundex(text);
+
+DROP FUNCTION metaphone (text,int);
+
+DROP FUNCTION levenshtein (text,text);