Use replication slot if possible.
authorTatsuo Ishii <ishii@postgresql.org>
Wed, 18 Apr 2018 02:40:18 +0000 (11:40 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Wed, 18 Apr 2018 02:40:18 +0000 (11:40 +0900)
By setting USE_REPLICATION_SLOT environment variable, now pgpool_setup
in all tests uses replication slots. This reduces disk space under
src/test/regression from 6.3GB to 5,1GB (1.2GB savings).

src/test/regression/regress.sh

index 179ed336d737217424c14746af3b56dd9fd2d53f..0df48f2033b4e9d4e461a3eae97a3fd7e482b4cf 100755 (executable)
@@ -16,6 +16,7 @@ MODE=install
 PG_INSTALL_DIR=/usr/local/pgsql/bin
 PGPOOL_PATH=/usr/local
 JDBC_DRIVER=/usr/local/pgsql/share/postgresql-9.2-1003.jdbc4.jar
+export USE_REPLICATION_SLOT=true
 export log=$dir/log
 fail=0
 ok=0