Skip to content

Commit

Permalink
Update test codes for PostgreSQL v14 Beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecaat committed May 31, 2021
1 parent 9b56a46 commit c8a2e8d
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions bin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ sql/init-12.sql:
cp sql/init-extension-v2.sql sql/init-12.sql
sql/init-13.sql:
cp sql/init-extension-v2.sql sql/init-13.sql
sql/init-14.sql:
cp sql/init-extension-v2.sql sql/init-14.sql

sql/load_bin.sql: sql/load_bin-$(MAJORVERSION).sql
cp sql/load_bin-$(MAJORVERSION).sql sql/load_bin.sql
Expand All @@ -81,6 +83,8 @@ sql/load_bin-12.sql:
cp sql/load_bin-v2.sql sql/load_bin-12.sql
sql/load_bin-13.sql:
cp sql/load_bin-v2.sql sql/load_bin-13.sql
sql/load_bin-14.sql:
cp sql/load_bin-v2.sql sql/load_bin-14.sql

sql/load_csv.sql: sql/load_csv-$(MAJORVERSION).sql
cp sql/load_csv-$(MAJORVERSION).sql sql/load_csv.sql
Expand All @@ -100,6 +104,8 @@ sql/load_csv-12.sql:
cp sql/load_csv-v2.sql sql/load_csv-12.sql
sql/load_csv-13.sql:
cp sql/load_csv-v2.sql sql/load_csv-13.sql
sql/load_csv-14.sql:
cp sql/load_csv-v2.sql sql/load_csv-14.sql

sql/load_filter.sql: sql/load_filter-$(MAJORVERSION).sql
cp sql/load_filter-$(MAJORVERSION).sql sql/load_filter.sql
Expand All @@ -119,6 +125,8 @@ sql/load_filter-12.sql:
cp sql/load_filter-v3.sql sql/load_filter-12.sql
sql/load_filter-13.sql:
cp sql/load_filter-v3.sql sql/load_filter-13.sql
sql/load_filter-14.sql:
cp sql/load_filter-v3.sql sql/load_filter-14.sql

sql/load_function.sql: sql/load_function-$(MAJORVERSION).sql
cp sql/load_function-$(MAJORVERSION).sql sql/load_function.sql
Expand All @@ -138,6 +146,8 @@ sql/load_function-12.sql:
cp sql/load_function-v3.sql sql/load_function-12.sql
sql/load_function-13.sql:
cp sql/load_function-v3.sql sql/load_function-13.sql
sql/load_function-14.sql:
cp sql/load_function-v3.sql sql/load_function-14.sql

sql/write_bin.sql: sql/write_bin-$(MAJORVERSION).sql
cp sql/write_bin-$(MAJORVERSION).sql sql/write_bin.sql
Expand All @@ -157,18 +167,20 @@ sql/write_bin-12.sql:
cp sql/write_bin-v1.sql sql/write_bin-12.sql
sql/write_bin-13.sql:
cp sql/write_bin-v2.sql sql/write_bin-13.sql
sql/write_bin-14.sql:
cp sql/write_bin-v2.sql sql/write_bin-14.sql


.PHONY: subclean
clean: subclean

subclean:
rm -f sql/init.sql sql/init-{9.3,9.4,9.5,9.6,10,11,12,13}.sql
rm -f sql/load_bin.sql sql/load_bin-{9.3,9.4,9.5,9.6,10,11,12,13}.sql
rm -f sql/load_csv.sql sql/load_csv-{9.3,9.4,9.5,9.6,10,11,12,13}.sql
rm -f sql/load_filter.sql sql/load_filter-{9.3,9.4,9.5,9.6,10,11,12,13}.sql
rm -f sql/load_function.sql sql/load_function-{9.3,9.4,9.5,9.6,10,11,12,13}.sql
rm -f sql/write_bin.sql sql/write_bin-{9.3,9.4,9.5,9.6,10,11,12,13}.sql
rm -f sql/init.sql sql/init-{9.3,9.4,9.5,9.6,10,11,12,13,14}.sql
rm -f sql/load_bin.sql sql/load_bin-{9.3,9.4,9.5,9.6,10,11,12,13,14}.sql
rm -f sql/load_csv.sql sql/load_csv-{9.3,9.4,9.5,9.6,10,11,12,13,14}.sql
rm -f sql/load_filter.sql sql/load_filter-{9.3,9.4,9.5,9.6,10,11,12,13,14}.sql
rm -f sql/load_function.sql sql/load_function-{9.3,9.4,9.5,9.6,10,11,12,13,14}.sql
rm -f sql/write_bin.sql sql/write_bin-{9.3,9.4,9.5,9.6,10,11,12,13,14}.sql

installcheck: sql/init.sql sql/load_bin.sql sql/load_csv.sql sql/load_function.sql sql/load_filter.sql sql/write_bin.sql

Expand Down

0 comments on commit c8a2e8d

Please sign in to comment.