merge-cstore-pykello
Jeff Davis 2020-09-16 08:49:25 -07:00
parent ada9da609e
commit 248a2db970
1 changed files with 4 additions and 4 deletions

View File

@ -5,10 +5,6 @@
MODULE_big = cstore_fdw MODULE_big = cstore_fdw
ifndef MAJORVERSION
MAJORVERSION := $(basename $(VERSION))
endif
PG_CPPFLAGS = -std=c11 PG_CPPFLAGS = -std=c11
OBJS = cstore.o cstore_fdw.o cstore_writer.o cstore_reader.o \ OBJS = cstore.o cstore_fdw.o cstore_writer.o cstore_reader.o \
cstore_compression.o mod.o cstore_metadata_tables.o cstore_tableam.o cstore_compression.o mod.o cstore_metadata_tables.o cstore_tableam.o
@ -50,6 +46,10 @@ PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs) PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS) include $(PGXS)
ifndef MAJORVERSION
MAJORVERSION := $(basename $(VERSION))
endif
ifeq (,$(findstring $(MAJORVERSION), 9.3 9.4 9.5 9.6 10 11 12)) 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) $(error PostgreSQL 9.3 to 12 is required to compile this extension)
endif endif