This made: - repack.out == repack_2.out - repack_3.out == repack_4.out - repack_1.out == repack_6.out
25 lines
694 B
Makefile
25 lines
694 B
Makefile
#
|
|
# pg_repack: regress/Makefile
|
|
#
|
|
# Portions Copyright (c) 2008-2012, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
|
|
# Portions Copyright (c) 2011, Itagaki Takahiro
|
|
# Portions Copyright (c) 2012-2015, The Reorg Development Team
|
|
#
|
|
|
|
PG_CONFIG ?= pg_config
|
|
|
|
# version as a number, e.g. 9.1.4 -> 901
|
|
VERSION := $(shell $(PG_CONFIG) --version | sed 's/.* \([[:digit:].]\{1,\}\).*/\1/')
|
|
INTVERSION := $(shell echo $$(($$(echo $(VERSION).0 | sed 's/\([[:digit:]]\{1,\}\)\.\([[:digit:]]\{1,\}\).*/\1*100+\2/'))))
|
|
|
|
|
|
#
|
|
# Test suite
|
|
#
|
|
|
|
REGRESS := init-extension repack after-schema tablespace issue3
|
|
|
|
USE_PGXS = 1 # use pgxs if not in contrib directory
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|