Skip to content

Commit b061957

Browse files
committed
put migration script into makefile
1 parent cd5de39 commit b061957

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ OBJS = src/init.o src/relation_info.o src/utils.o src/partition_filter.o \
99

1010
EXTENSION = pg_pathman
1111
EXTVERSION = 1.1
12-
DATA_built = $(EXTENSION)--$(EXTVERSION).sql
12+
DATA_built = pg_pathman--$(EXTVERSION).sql
13+
DATA = pg_pathman--1.0.sql pg_pathman--1.0--1.1.sql
1314
PGFILEDESC = "pg_pathman - partitioning tool"
1415

1516
REGRESS = pathman_basic \
@@ -20,7 +21,7 @@ REGRESS = pathman_basic \
2021
pathman_permissions \
2122
pathman_rowmarks
2223
EXTRA_REGRESS_OPTS=--temp-config=$(top_srcdir)/$(subdir)/conf.add
23-
EXTRA_CLEAN = $(EXTENSION)--$(EXTVERSION).sql ./isolation_output
24+
EXTRA_CLEAN = pg_pathman--$(EXTVERSION).sql ./isolation_output
2425

2526
ifdef USE_PGXS
2627
PG_CONFIG = pg_config

0 commit comments

Comments
 (0)