Minimum postgres version supported fixed in META.json
This commit is contained in:
1
Makefile
1
Makefile
@ -24,6 +24,7 @@ INTVERSION := $(shell echo $$(($$(echo $(VERSION) | sed 's/\([[:digit:]]\{1,\}\)
|
||||
EXTVERSION = $(shell grep '"version":' META.json | head -1 \
|
||||
| sed -e 's/[ ]*"version":[ ]*"\(.*\)",/\1/')
|
||||
|
||||
# NOTE: keep consistent with META.json
|
||||
ifeq ($(shell echo $$(($(INTVERSION) < 901))),1)
|
||||
$(error $(EXTENSION) requires PostgreSQL 9.1 or later. This is $(VERSION))
|
||||
endif
|
||||
|
Reference in New Issue
Block a user