OSDN Git Service

Include all pg_hint_plan--*.sql files in installation
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Thu, 17 Jan 2019 03:29:47 +0000 (12:29 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Thu, 17 Jan 2019 04:37:21 +0000 (13:37 +0900)
Glob installation/upgrade SQL scripts instead of spcifying
individually to reduce maintenance labor.

Makefile

index 5b0566d..d2b4c55 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,9 +14,7 @@ REGRESSION_EXPECTED = expected/init.out expected/base_plan.out expected/pg_hint_
 REGRESS_OPTS = --encoding=UTF8
 
 EXTENSION = pg_hint_plan
-DATA = pg_hint_plan--1.2.4.sql pg_hint_plan--1.2.3--1.2.4.sql \
-       pg_hint_plan--1.2.2--1.2.3.sql pg_hint_plan--1.2.1--1.2.2.sql \
-       pg_hint_plan--1.2.0--1.2.1.sql pg_hint_plan--1.1.3--1.2.0.sql
+DATA = pg_hint_plan--*.sql
 
 EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out RPMS