fix the data directory path

This commit is contained in:
Andrea Dell'Amico 2021-02-05 16:38:04 +01:00
parent f3c6ddd67b
commit d83e31068e
1 changed files with 2 additions and 2 deletions

View File

@ -4,11 +4,11 @@
#
TS=$(date +%Y-%m-%d_%H-%M-%S)
MASTER_HOST=$(hostname -f)
# $1 is {{ psql_data_dir }}/main while $3 is {{ psql_data_dir }}
# $1 is {{ psql_data_dir }} while $3 is {{ psql_data_dir }}
MASTER_DATA=$1
MASTER_DATA_BASE_DIR={{ psql_data_dir }}
RECOVERY_TARGET=${2}
RECOVERY_DATA=${3}/main
RECOVERY_DATA=${3}
RECOVERY_DATA_BASE_DIR={{ psql_data_dir }}
logger "pgpool_recovery_1: MASTER_DATA=$MASTER_DATA"