From cc6398d6b21d8b075f3532bcef1e20192d0cd06b Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Thu, 26 Oct 2023 08:18:15 +0300 Subject: [PATCH] vm-builder: Set pgboucer auth_dbname=postgres to fix database dropping issue (#584) See https://neondb.slack.com/archives/C026T7K2YP9/p1697815383381269?thread_ts=1697643821.075019&cid=C026T7K2YP9 Set auth_dbname in pgbouncer config to prevent dropping database because of presence of superuser connections Co-authored-by: Konstantin Knizhnik --- neonvm/tools/vm-builder/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/neonvm/tools/vm-builder/main.go b/neonvm/tools/vm-builder/main.go index 1da4c6391..0e791d2f7 100644 --- a/neonvm/tools/vm-builder/main.go +++ b/neonvm/tools/vm-builder/main.go @@ -370,6 +370,7 @@ listen_port=6432 listen_addr=0.0.0.0 auth_type=scram-sha-256 auth_user=cloud_admin +auth_dbname=postgres client_tls_sslmode=disable server_tls_sslmode=disable pool_mode=transaction