pgpool2.git / summary / log / commit / refs

commit    aae38928617084685378564e35ecc57bf11f548d
Author:   Tatsuo Ishii <ishii@sraoss.co.jp>
Date:     Wed May 05 00:26:58 2021 +0000

    Fix watchdog_setup to not fail when -n is not specified.
    
    watchdog_setup failed if -n (number of PostgreSQL clusters) is not
    specified. Now if -n is not specified, assume "-n = 2", which is same
    as in pgpool_setup.


src/test/watchdog_setup.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/watchdog_setup.in b/src/test/watchdog_setup.in index 992c0fc7f..3c697da11 100644 --- a/src/test/watchdog_setup.in +++ b/src/test/watchdog_setup.in @@ -31,13 +31,15 @@ W_NUM_PGPOOL=${W_NUM_PGPOOL:-"3"} # Starting port number. W_BASE_PORT=${W_BASE_PORT:-"50000"} +# Number of default PostgreSQL clusters +NUMCLUSTERS=2 + # PostgreSQL startig port number. export PGBASEPORT=`expr $W_BASE_PORT + 1000` # number of ports used in a single pgpool-II installation. # (port, pcp_port, wd_port, wd_heartbeat_port) num_ports_per_node=4 - #------------------------------------------- # End of configuration section #------------------------------------------- [parent: c217ea2501e7]