From 8fd0e43c4e9746fb61dcb6196aefad3fd0ab8ae8 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 30 Sep 2006 18:03:06 +0000 Subject: [PATCH] Add uninstall script for adminpack - Josh Drake --- contrib/adminpack/Makefile | 1 + contrib/adminpack/uninstall_adminpack.sql | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 contrib/adminpack/uninstall_adminpack.sql diff --git a/contrib/adminpack/Makefile b/contrib/adminpack/Makefile index 6187c6a258..ba864c1417 100644 --- a/contrib/adminpack/Makefile +++ b/contrib/adminpack/Makefile @@ -1,6 +1,7 @@ MODULE_big = adminpack PG_CPPFLAGS = -I$(libpq_srcdir) DATA_built = adminpack.sql +DATA = uninstall_adminpack.sql DOCS = README.adminpack OBJS = adminpack.o diff --git a/contrib/adminpack/uninstall_adminpack.sql b/contrib/adminpack/uninstall_adminpack.sql new file mode 100644 index 0000000000..b748cbbf63 --- /dev/null +++ b/contrib/adminpack/uninstall_adminpack.sql @@ -0,0 +1,8 @@ +DROP FUNCTION pg_catalog.pg_file_write(text, text, bool) ; +DROP FUNCTION pg_catalog.pg_file_rename(text, text, text) ; +DROP FUNCTION pg_catalog.pg_file_rename(text, text) ; +DROP FUNCTION pg_catalog.pg_file_unlink(text) ; +DROP FUNCTION pg_catalog.pg_logdir_ls() ; +DROP FUNCTION pg_catalog.pg_file_read(text, bigint, bigint) ; +DROP FUNCTION pg_catalog.pg_file_length(text) ; +DROP FUNCTION pg_catalog.pg_logfile_rotate() ; -- 2.40.0