fix(pgbouncer): ini-set ignore-inline-comments (#30801)

Signed-off-by: Oleksii Iakovenko <vortex@macpaw.com>
This commit is contained in:
Oleksii Iakovenko
2023-04-20 10:51:17 +03:00
committed by GitHub
parent 01d5e9b62d
commit b5b6a61d6f

View File

@@ -268,7 +268,7 @@ pgbouncer_initialize() {
local key value
key="$(awk -F: '{print $1}' <<<"$pair")"
value="$(awk -F: '{print $2}' <<<"$pair")"
! is_empty_value "${value}" && ini-file set --section "pgbouncer" --key "${key}" --value "${value}" "$PGBOUNCER_CONF_FILE"
! is_empty_value "${value}" && ini-file set --ignore-inline-comments --section "pgbouncer" --key "${key}" --value "${value}" "$PGBOUNCER_CONF_FILE"
done
if [[ "$PGBOUNCER_CLIENT_TLS_SSLMODE" != "disable" ]]; then
ini-file set --section "pgbouncer" --key "client_tls_cert_file" --value "$PGBOUNCER_CLIENT_TLS_CERT_FILE" "$PGBOUNCER_CONF_FILE"