Skip to content

Commit

Permalink
vm-builder: Set pgboucer auth_dbname=postgres to fix database droppin…
Browse files Browse the repository at this point in the history
…g 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 <[email protected]>
  • Loading branch information
knizhnik and Konstantin Knizhnik authored Oct 26, 2023
1 parent 071d272 commit cc6398d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neonvm/tools/vm-builder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc6398d

Please sign in to comment.