Skip to content

fix(connections): clearer message for PgBouncer 'no pool configured' - #84

Merged
oesukam merged 1 commit into
mainfrom
fix/pgbouncer-no-pool-error
Aug 4, 2026
Merged

fix(connections): clearer message for PgBouncer 'no pool configured'#84
oesukam merged 1 commit into
mainfrom
fix/pgbouncer-no-pool-error

Conversation

@oesukam

@oesukam oesukam commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

A user connecting through PgBouncer hit:

FATAL: No pool configured for database: "muc_mwindalab_koolsend_api", user: "..."

That's a server-side pooler config issue (the DB/user isn't registered in PgBouncer's pool list), not a Nembrix bug. Map it in short_connect_error to a clear one-liner:

No connection pool for this database on the server (pooler config).

Added to the existing connect-error shortener + a unit-test case. cargo check/clippy clean.

Connecting through a PgBouncer that has no pool registered for the
database/user returns 'FATAL: No pool configured for database: ...'.
That's a server-side pooler config issue, not a Nembrix problem — map
it to a short, clear message instead of the raw FATAL. Unit-tested.
@oesukam
oesukam merged commit 5f50646 into main Aug 4, 2026
6 checks passed
@oesukam
oesukam deleted the fix/pgbouncer-no-pool-error branch August 4, 2026 15:38
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.

1 participant