This commit is contained in:
Bernhard Radermacher
2026-02-24 11:37:41 +01:00
parent a50eb92c6d
commit 2f7983ad4c

View File

@@ -83,7 +83,7 @@ pg_setup_conf() {
printf "max_replication_slots = 10\n"
printf "shared_preload_libraries = 'repmgr'\n"
if [[ -n $POSTGRES_MAX_CONNECTIONS ]]; then
printf "\nmax_connections = ${POSTGRES_MAX_CONNECTIONS}\n"
printf "\nmax_connections = '%s'\n" "$POSTGRES_MAX_CONNECTIONS"
fi
} >> "$PGDATA/postgresql.conf"
}