aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/pgrowlocks/Makefile3
-rw-r--r--contrib/pgrowlocks/uninstall_pgrowlocks.sql5
2 files changed, 7 insertions, 1 deletions
diff --git a/contrib/pgrowlocks/Makefile b/contrib/pgrowlocks/Makefile
index 2bff839455c..9cddd089b3d 100644
--- a/contrib/pgrowlocks/Makefile
+++ b/contrib/pgrowlocks/Makefile
@@ -2,7 +2,7 @@
#
# pgrowlocks Makefile
#
-# $PostgreSQL: pgsql/contrib/pgrowlocks/Makefile,v 1.1 2006/04/23 01:12:58 ishii Exp $
+# $PostgreSQL: pgsql/contrib/pgrowlocks/Makefile,v 1.2 2006/09/30 18:08:32 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -12,6 +12,7 @@ MODULE_big = pgrowlocks
OBJS = $(SRCS:.c=.o)
DOCS = README.pgrowlocks README.pgrowlocks.euc_jp
DATA_built = pgrowlocks.sql
+DATA = uninstall_pgrowlocks.sql
ifdef USE_PGXS
PGXS = $(shell pg_config --pgxs)
diff --git a/contrib/pgrowlocks/uninstall_pgrowlocks.sql b/contrib/pgrowlocks/uninstall_pgrowlocks.sql
new file mode 100644
index 00000000000..9e37d119755
--- /dev/null
+++ b/contrib/pgrowlocks/uninstall_pgrowlocks.sql
@@ -0,0 +1,5 @@
+SET search_path = public;
+
+DROP FUNCTION pgrowlocks(text);
+
+DROP TYPE pgrowlocks_type;