pgpool2.git / summary / log / commit / refs
commit 35b52d1be07ecf39964f55d894a75adfa4673e33
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Sun Sep 01 02:38:35 2019 +0000
Fix pgpool_setup to reflect the -p (baseport) to ORIGBASEPORT variable.
Otherwise, shutdown generated script by pgpool_setup does not use
proper port number for netstat command.
src/test/pgpool_setup | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/test/pgpool_setup b/src/test/pgpool_setup
index 77218b599..ae50be849 100755
--- a/src/test/pgpool_setup
+++ b/src/test/pgpool_setup
@@ -765,6 +765,7 @@ do
elif [ $1 = "-p" ];then
shift
BASEPORT=$1
+ ORIGBASEPORT=$1
elif [ $1 = "-pg" ];then
shift
PGBASEPORT=$1
[parent: 69419ac44d3d]