mirror of
https://github.com/bitnami/containers.git
synced 2026-03-15 06:48:04 +08:00
13.1.0-debian-10-r18 release
This commit is contained in:
@@ -278,7 +278,7 @@ postgresql_create_pghba() {
|
||||
postgresql_allow_local_connection() {
|
||||
cat <<EOF >>"$POSTGRESQL_PGHBA_FILE"
|
||||
local all all trust
|
||||
host all all 127.0.0.1/0 trust
|
||||
host all all 127.0.0.1/32 trust
|
||||
host all all ::1/128 trust
|
||||
EOF
|
||||
}
|
||||
|
||||
@@ -643,6 +643,8 @@ repmgr_initialize() {
|
||||
postgresql_start_bg
|
||||
repmgr_unregister_standby
|
||||
repmgr_register_standby
|
||||
repmgr_standby_follow
|
||||
if [[ "$psql_major_version" -lt "12" ]]; then
|
||||
repmgr_standby_follow
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user