diff --git a/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/libpgpool.sh b/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/libpgpool.sh index 5220ef9d77108..2e8735bba8b8e 100644 --- a/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/libpgpool.sh +++ b/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/libpgpool.sh @@ -89,6 +89,7 @@ export PGPOOL_AUTHENTICATION_METHOD="${PGPOOL_AUTHENTICATION_METHOD:-scram-sha-2 export PGPOOL_AES_KEY="${PGPOOL_AES_KEY:-$(head -c 20 /dev/urandom | base64)}" export PGPOOL_FAILOVER_ON_BACKEND_SHUTDOWN="${PGPOOL_FAILOVER_ON_BACKEND_SHUTDOWN:-on}" export PGPOOL_FAILOVER_ON_BACKEND_ERROR="${PGPOOL_FAILOVER_ON_BACKEND_ERROR:-off}" +export PGPOOL_DISCARD_STATUS="${PGPOOL_DISCARD_STATUS:-yes}" # SSL export PGPOOL_ENABLE_TLS="${PGPOOL_ENABLE_TLS:-no}" diff --git a/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/pgpool/run.sh b/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/pgpool/run.sh index 3f96ab167b688..363a017f5351e 100755 --- a/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/pgpool/run.sh +++ b/bitnami/pgpool/4/debian-12/rootfs/opt/bitnami/scripts/pgpool/run.sh @@ -23,6 +23,7 @@ eval "$(ldap_env)" command="$(command -v pgpool)" flags=("-n" "--config-file=${PGPOOL_CONF_FILE}" "--hba-file=${PGPOOL_PGHBA_FILE}") +is_boolean_yes "$PGPOOL_DISCARD_STATUS" && flags+=("-D") [[ -z "${PGPOOL_EXTRA_FLAGS:-}" ]] || flags=("${flags[@]}" "${PGPOOL_EXTRA_FLAGS[@]}") is_boolean_yes "$PGPOOL_ENABLE_LDAP" && ldap_start_nslcd_bg