OSDN Git Service

Support PostgreSQL 14
[pghintplan/pg_hint_plan.git] / Makefile
index 027773d..1a8ae90 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
 #
 
 MODULES = pg_hint_plan
-HINTPLANVER = 1.3.7
+HINTPLANVER = 1.4
 
 REGRESS = init base_plan pg_hint_plan ut-init ut-A ut-S ut-J ut-L ut-G ut-R ut-fdw ut-W ut-T ut-fini
 
@@ -22,8 +22,8 @@ PG_CONFIG = pg_config
 PGXS := $(shell $(PG_CONFIG) --pgxs)
 include $(PGXS)
 
-STARBALL13 = pg_hint_plan13-$(HINTPLANVER).tar.gz
-STARBALLS = $(STARBALL13)
+STARBALL14 = pg_hint_plan14-$(HINTPLANVER).tar.gz
+STARBALLS = $(STARBALL14)
 
 TARSOURCES = Makefile *.c  *.h COPYRIGHT* \
        pg_hint_plan--*.sql \
@@ -37,7 +37,7 @@ endif
 
 installcheck: $(REGRESSION_EXPECTED)
 
-rpms: rpm13
+rpms: rpm14
 
 # pg_hint_plan.c includes core.c and make_join_rel.c
 pg_hint_plan.o: core.c make_join_rel.c # pg_stat_statements.c
@@ -52,5 +52,5 @@ $(STARBALLS): $(TARSOURCES)
        tar -chzf $@ $(addprefix $(subst .tar.gz,,$@)/, $^)
        rm $(subst .tar.gz,,$@)
 
-rpm13: $(STARBALL13)
-       MAKE_ROOT=`pwd` rpmbuild -bb SPECS/pg_hint_plan13.spec
+rpm14: $(STARBALL14)
+       MAKE_ROOT=`pwd` rpmbuild -bb SPECS/pg_hint_plan14.spec