Minimum postgres version supported fixed in META.json
This commit is contained in:
parent
5b1001d620
commit
cbb3b7f916
@ -22,7 +22,7 @@
|
||||
"prereqs": {
|
||||
"runtime": {
|
||||
"requires": {
|
||||
"PostgreSQL": "8.3.0"
|
||||
"PostgreSQL": "9.1.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user