aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/pg_freespacemap/Makefile3
-rw-r--r--contrib/pg_freespacemap/uninstall_pg_freespacemap.sql7
2 files changed, 9 insertions, 1 deletions
diff --git a/contrib/pg_freespacemap/Makefile b/contrib/pg_freespacemap/Makefile
index e0e5e0c76e5..666b6e4f1ff 100644
--- a/contrib/pg_freespacemap/Makefile
+++ b/contrib/pg_freespacemap/Makefile
@@ -1,9 +1,10 @@
-# $PostgreSQL: pgsql/contrib/pg_freespacemap/Makefile,v 1.1 2006/02/12 03:55:53 momjian Exp $
+# $PostgreSQL: pgsql/contrib/pg_freespacemap/Makefile,v 1.2 2006/09/30 18:15:48 tgl Exp $
MODULE_big = pg_freespacemap
OBJS = pg_freespacemap.o
DATA_built = pg_freespacemap.sql
+DATA = uninstall_pg_freespacemap.sql
DOCS = README.pg_freespacemap
ifdef USE_PGXS
diff --git a/contrib/pg_freespacemap/uninstall_pg_freespacemap.sql b/contrib/pg_freespacemap/uninstall_pg_freespacemap.sql
new file mode 100644
index 00000000000..d332f08b33c
--- /dev/null
+++ b/contrib/pg_freespacemap/uninstall_pg_freespacemap.sql
@@ -0,0 +1,7 @@
+SET search_path = public;
+
+DROP VIEW pg_freespacemap_pages;
+DROP VIEW pg_freespacemap_relations;
+
+DROP FUNCTION pg_freespacemap_pages();
+DROP FUNCTION pg_freespacemap_relations();