Commit d5e4fd21 authored by iSergio's avatar iSergio
Browse files

Fix pg_hba mask

parent 0c3a966c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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