diff --git a/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/libpgbouncer.sh b/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/libpgbouncer.sh index 887cd774a18f..528038e01aaa 100644 --- a/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/libpgbouncer.sh +++ b/bitnami/pgbouncer/1/debian-11/rootfs/opt/bitnami/scripts/libpgbouncer.sh @@ -214,7 +214,7 @@ pgbouncer_initialize() { database_value+=" auth_user=$PGBOUNCER_AUTH_USER" fi if ! is_empty_value "$PGBOUNCER_CONNECT_QUERY"; then - database_value+=" connect_query='$PGBOUNCER_CONNECT_QUERY'" + database_value+=" connect_query='${PGBOUNCER_CONNECT_QUERY}'" fi ini-file set --section "databases" --key "$PGBOUNCER_DATABASE" --value "$database_value" "$PGBOUNCER_CONF_FILE" local -r -a key_value_pairs=(