diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2006-02-27 12:54:39 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2006-02-27 12:54:39 +0000 |
| commit | fe83b3ebc6b8d65fbb14100bdc476b7dbc32454c (patch) | |
| tree | 33659142c317fc19ac4db5d70e8883e47a0c7821 /contrib/pgstattuple | |
| parent | d46fbef386b88d062bb0b00f17cbcf97f58ec821 (diff) | |
| download | postgresql-fe83b3ebc6b8d65fbb14100bdc476b7dbc32454c.tar.gz | |
contrib uninstall scripts
by David Fetter
Diffstat (limited to 'contrib/pgstattuple')
| -rw-r--r-- | contrib/pgstattuple/Makefile | 3 | ||||
| -rw-r--r-- | contrib/pgstattuple/uninstall_pgstattuple.sql | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/contrib/pgstattuple/Makefile b/contrib/pgstattuple/Makefile index 3a3a02f522..6d25c87867 100644 --- a/contrib/pgstattuple/Makefile +++ b/contrib/pgstattuple/Makefile @@ -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) diff --git a/contrib/pgstattuple/uninstall_pgstattuple.sql b/contrib/pgstattuple/uninstall_pgstattuple.sql new file mode 100644 index 0000000000..efecc3b2e4 --- /dev/null +++ b/contrib/pgstattuple/uninstall_pgstattuple.sql @@ -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; |
