mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
contrib uninstall scripts
by David Fetter
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
#
|
||||
# pgstattuple Makefile
|
||||
#
|
||||
# $PostgreSQL: pgsql/contrib/pgstattuple/Makefile,v 1.4 2005/09/27 17:13:09 tgl Exp $
|
||||
# $PostgreSQL: pgsql/contrib/pgstattuple/Makefile,v 1.5 2006/02/27 12:54:39 petere Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@ -12,6 +12,7 @@ MODULE_big = pgstattuple
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
DOCS = README.pgstattuple README.pgstattuple.euc_jp
|
||||
DATA_built = pgstattuple.sql
|
||||
DATA = uninstall_pgstattuple.sql
|
||||
|
||||
ifdef USE_PGXS
|
||||
PGXS := $(shell pg_config --pgxs)
|
||||
|
8
contrib/pgstattuple/uninstall_pgstattuple.sql
Normal file
8
contrib/pgstattuple/uninstall_pgstattuple.sql
Normal file
@ -0,0 +1,8 @@
|
||||
-- Adjust this setting to control where the objects get created.
|
||||
SET search_path = public;
|
||||
|
||||
DROP FUNCTION pgstattuple(oid);
|
||||
|
||||
DROP FUNCTION pgstattuple(text);
|
||||
|
||||
DROP TYPE pgstattuple_type;
|
Reference in New Issue
Block a user