summaryrefslogtreecommitdiff
path: root/contrib/xml2
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/xml2
parentd46fbef386b88d062bb0b00f17cbcf97f58ec821 (diff)
contrib uninstall scripts
by David Fetter
Diffstat (limited to 'contrib/xml2')
-rw-r--r--contrib/xml2/Makefile1
-rw-r--r--contrib/xml2/uninstall_pgxml.sql27
2 files changed, 28 insertions, 0 deletions
diff --git a/contrib/xml2/Makefile b/contrib/xml2/Makefile
index b30da28364..5fdcc9fcd0 100644
--- a/contrib/xml2/Makefile
+++ b/contrib/xml2/Makefile
@@ -9,6 +9,7 @@ OBJS = xpath.o xslt_proc.o
SHLIB_LINK = -lxml2 -lxslt
DATA_built = pgxml.sql
+DATA = uninstall_pgxml.sql
DOCS = README.xml2
override CFLAGS += $(shell xml2-config --cflags)
diff --git a/contrib/xml2/uninstall_pgxml.sql b/contrib/xml2/uninstall_pgxml.sql
new file mode 100644
index 0000000000..b055ce85a5
--- /dev/null
+++ b/contrib/xml2/uninstall_pgxml.sql
@@ -0,0 +1,27 @@
+SET search_path = public;
+
+DROP FUNCTION xslt_process(text,text);
+
+DROP FUNCTION xslt_process(text,text,text);
+
+DROP FUNCTION xpath_table(text,text,text,text,text);
+
+DROP FUNCTION xpath_nodeset(text,text,text);
+
+DROP FUNCTION xpath_nodeset(text,text);
+
+DROP FUNCTION xpath_list(text,text);
+
+DROP FUNCTION xpath_list(text,text,text);
+
+DROP FUNCTION xpath_bool(text,text);
+
+DROP FUNCTION xpath_number(text,text);
+
+DROP FUNCTION xpath_nodeset(text,text,text,text);
+
+DROP FUNCTION xpath_string(text,text);
+
+DROP FUNCTION xml_encode_special_chars(text);
+
+DROP FUNCTION xml_valid(text);