Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgbouncer: Add auth_dbname option #433

Merged
merged 2 commits into from
Aug 3, 2023
Merged

pgbouncer: Add auth_dbname option #433

merged 2 commits into from
Aug 3, 2023

Conversation

vitabaks
Copy link
Owner

@vitabaks vitabaks commented Aug 3, 2023

The database name “pgbouncer” is reserved for the admin console.

Related MR: #401

Fixed:

postgres@pgnode02:~$ psql -h 127.0.0.1 -p 6432 -U postgres -d pgbouncer
psql: error: connection to server at "127.0.0.1", port 6432 failed: FATAL:  bouncer config error

pgbouncer.log

2023-08-03 12:46:22.405 UTC [15102] ERROR C-0x562de93bce50: (nodb)/(nouser)@127.0.0.1:55328 cannot use the reserved "pgbouncer" database as an auth_dbname
2023-08-03 12:46:22.405 UTC [15102] WARNING C-0x562de93bce50: (nodb)/(nouser)@127.0.0.1:55328 pooler error: bouncer config error
2023-08-03 12:46:24.158 UTC [15102] LOG stats: 0 xacts/s, 0 queries/s, in 0 B/s, out 0 B/s, xact 0 us, query 0 us, wait 0 us

@vitabaks vitabaks self-assigned this Aug 3, 2023
@vitabaks vitabaks merged commit fa84970 into master Aug 3, 2023
19 checks passed
@vitabaks vitabaks deleted the pgbouncer-auth-dbname branch August 3, 2023 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant