diff --git a/lib/Makefile b/lib/Makefile index 83351da..dc511c7 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -25,13 +25,7 @@ REPACK_VERSION = $(shell grep '"version":' ../META.json | head -1 \ PG_CPPFLAGS = -DREPACK_VERSION=$(REPACK_VERSION) -# Support CREATE EXTENSION for PG >= 9.1 and a simple sql script for PG < 9.1 -ifeq ($(shell echo $$(($(INTVERSION) >= 901))),1) DATA_built = pg_repack--$(REPACK_VERSION).sql pg_repack.control -else -DATA_built = pg_repack.sql -DATA = uninstall_pg_repack.sql -endif USE_PGXS = 1 PGXS := $(shell $(PG_CONFIG) --pgxs) diff --git a/lib/uninstall_pg_repack.sql b/lib/uninstall_pg_repack.sql deleted file mode 100644 index 7f5aa49..0000000 --- a/lib/uninstall_pg_repack.sql +++ /dev/null @@ -1,9 +0,0 @@ -/* - * pg_repack: lib/uninstall_repack.sql - * - * Portions Copyright (c) 2008-2011, NIPPON TELEGRAPH AND TELEPHONE CORPORATION - * Portions Copyright (c) 2011, Itagaki Takahiro - * Portions Copyright (c) 2012-2015, The Reorg Development Team - */ - -DROP SCHEMA IF EXISTS repack CASCADE;