Loading postgres/bin/pg_replication +2 −2 Original line number Diff line number Diff line Loading @@ -116,8 +116,8 @@ archive_command = '$archive_command'" >> ${PG_CONFS[0]} echo "#REPLICATION BEGIN local all all trust host all all $PGPOOL_PRIMARY_HOST trust host all all $PGPOOL_STANDBY_HOST trust host all all $PGPOOL_PRIMARY_HOST/32 trust host all all $PGPOOL_STANDBY_HOST/32 trust host all all 127.0.0.1/32 trust" >> ${PG_HBAS[0]} for (( i = 0; i < ${#PG_HOSTS[*]}; i++ )); do echo "host all all ${PG_HOSTS[$i]}/32 trust Loading Loading
postgres/bin/pg_replication +2 −2 Original line number Diff line number Diff line Loading @@ -116,8 +116,8 @@ archive_command = '$archive_command'" >> ${PG_CONFS[0]} echo "#REPLICATION BEGIN local all all trust host all all $PGPOOL_PRIMARY_HOST trust host all all $PGPOOL_STANDBY_HOST trust host all all $PGPOOL_PRIMARY_HOST/32 trust host all all $PGPOOL_STANDBY_HOST/32 trust host all all 127.0.0.1/32 trust" >> ${PG_HBAS[0]} for (( i = 0; i < ${#PG_HOSTS[*]}; i++ )); do echo "host all all ${PG_HOSTS[$i]}/32 trust Loading