Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit efb70c8

Browse files
committed
Upgraded dumpstat to 1.1 (PGPRO-1371)
1 parent 822aa8b commit efb70c8

File tree

7 files changed

+753
-28
lines changed

7 files changed

+753
-28
lines changed

contrib/dump_stat/.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
/results/
2-
/tmp_check/
1+
log/
2+
results/
3+
tmp_check/
4+
regression*
5+
dump_stat--?.?.sql

contrib/dump_stat/Makefile

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ MODULE_big = dump_stat
44
OBJS = anyarray_elemtype.o $(WIN32RES)
55

66
EXTENSION = dump_stat
7-
DATA = dump_stat--1.0.sql
7+
EXTVERSION = 1.1
88
PGFILEDESC = "dump_stat - move pg_statistic to new instance of PostgreSQL"
99

10+
11+
DATA = dump_stat--1.0.sql dump_stat--1.0--1.1.sql
12+
DATA_built = dump_stat--$(EXTVERSION).sql
13+
14+
REGRESS = dump_stat
15+
1016
ifdef USE_PGXS
1117
PG_CONFIG = pg_config
1218
PGXS := $(shell $(PG_CONFIG) --pgxs)
@@ -18,7 +24,12 @@ include $(top_builddir)/src/Makefile.global
1824
include $(top_srcdir)/contrib/contrib-global.mk
1925
endif
2026

27+
dump_stat--$(EXTVERSION).sql: $(DATA)
28+
cat $^ > $@
29+
2130
temp-install: EXTRA_INSTALL=contrib/dump_stat
2231

23-
check: temp-install
32+
check-tap: temp-install
2433
$(prove_check)
34+
35+
check: check-tap

0 commit comments

Comments
 (0)