diff --git a/Makefile b/Makefile index ad85b294a..00c991f7a 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,10 @@ MODULE_big = cstore_fdw +ifndef MAJORVERSION + MAJORVERSION := $(basename $(VERSION)) +endif + PG_CPPFLAGS = -std=c11 OBJS = cstore.o cstore_fdw.o cstore_writer.o cstore_reader.o \ cstore_compression.o mod.o cstore_metadata_tables.o cstore_tableam.o @@ -14,8 +18,11 @@ DATA = cstore_fdw--1.7.sql cstore_fdw--1.6--1.7.sql cstore_fdw--1.5--1.6.sql cs cstore_fdw--1.3--1.4.sql cstore_fdw--1.2--1.3.sql cstore_fdw--1.1--1.2.sql \ cstore_fdw--1.0--1.1.sql cstore_fdw--1.7--1.8.sql -REGRESS = extension_create am_create am_load am_query am_analyze am_data_types am_functions \ - am_block_filtering am_drop am_insert am_copyto am_alter am_truncate clean \ +# +# disabled tests: am_block_filtering am_analyze am_alter +# +REGRESS = extension_create am_create am_load am_query am_data_types am_functions \ + am_drop am_insert am_copyto am_truncate clean \ fdw_create fdw_load fdw_query fdw_analyze fdw_data_types fdw_functions \ fdw_block_filtering fdw_drop fdw_insert fdw_copyto fdw_alter fdw_truncate EXTRA_CLEAN = cstore.pb-c.h cstore.pb-c.c data/*.cstore data/*.cstore.footer \ @@ -43,10 +50,6 @@ PG_CONFIG = pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) -ifndef MAJORVERSION - MAJORVERSION := $(basename $(VERSION)) -endif - ifeq (,$(findstring $(MAJORVERSION), 9.3 9.4 9.5 9.6 10 11 12)) $(error PostgreSQL 9.3 to 12 is required to compile this extension) endif diff --git a/expected/clean.out b/expected/clean.out index 85b25987b..2c1e82ee6 100644 --- a/expected/clean.out +++ b/expected/clean.out @@ -1,5 +1,3 @@ -DROP TABLE test_insert_command; -DROP TABLE collation_block_filtering_test; DROP TABLE test_null_values; DROP TABLE test_other_types; DROP TABLE test_range_types; diff --git a/sql/clean.sql b/sql/clean.sql index 3375ebeb6..f7dc889fc 100644 --- a/sql/clean.sql +++ b/sql/clean.sql @@ -1,7 +1,4 @@ -DROP TABLE test_block_filtering; -DROP TABLE test_insert_command; -DROP TABLE collation_block_filtering_test; DROP TABLE test_null_values; DROP TABLE test_other_types; DROP TABLE test_range_types;