summaryrefslogtreecommitdiff
path: root/contrib/pg_buffercache
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2006-02-27 12:54:39 +0000
committerPeter Eisentraut <peter_e@gmx.net>2006-02-27 12:54:39 +0000
commitfe83b3ebc6b8d65fbb14100bdc476b7dbc32454c (patch)
tree33659142c317fc19ac4db5d70e8883e47a0c7821 /contrib/pg_buffercache
parentd46fbef386b88d062bb0b00f17cbcf97f58ec821 (diff)
downloadpostgresql-fe83b3ebc6b8d65fbb14100bdc476b7dbc32454c.tar.gz
contrib uninstall scripts
by David Fetter
Diffstat (limited to 'contrib/pg_buffercache')
-rw-r--r--contrib/pg_buffercache/Makefile3
-rw-r--r--contrib/pg_buffercache/uninstall_pg_buffercache.sql6
2 files changed, 8 insertions, 1 deletions
diff --git a/contrib/pg_buffercache/Makefile b/contrib/pg_buffercache/Makefile
index 5bec1a20b6..5d08beccd3 100644
--- a/contrib/pg_buffercache/Makefile
+++ b/contrib/pg_buffercache/Makefile
@@ -1,9 +1,10 @@
-# $PostgreSQL: pgsql/contrib/pg_buffercache/Makefile,v 1.2 2005/09/27 17:13:07 tgl Exp $
+# $PostgreSQL: pgsql/contrib/pg_buffercache/Makefile,v 1.3 2006/02/27 12:54:39 petere Exp $
MODULE_big = pg_buffercache
OBJS = pg_buffercache_pages.o
DATA_built = pg_buffercache.sql
+DATA = uninstall_pg_buffercache.sql
DOCS = README.pg_buffercache
ifdef USE_PGXS
diff --git a/contrib/pg_buffercache/uninstall_pg_buffercache.sql b/contrib/pg_buffercache/uninstall_pg_buffercache.sql
new file mode 100644
index 0000000000..4c0c25ad79
--- /dev/null
+++ b/contrib/pg_buffercache/uninstall_pg_buffercache.sql
@@ -0,0 +1,6 @@
+-- Adjust this setting to control where the objects get created.
+SET search_path = public;
+
+DROP VIEW pg_buffercache;
+
+DROP FUNCTION pg_buffercache_pages();