Skip to content

postgres: dial again without default_transaction_read_only when a poo… - #2

Merged
odilovalisher17 merged 1 commit into
mainfrom
fix/pooler-startup-params
Nov 9, 2026
Merged

odilovalisher17 merged 1 commit into
mainfrom
fix/pooler-startup-params

Conversation

@odilovalisher17

Copy link
Copy Markdown
Owner

…ler refuses it

PgBouncer and other poolers reject startup parameters they do not track (FATAL: unsupported startup parameter, SQLSTATE 08P01), so the read-only Meta connection could not connect through them. Retry without it; no SET afterwards, since that would stick to a pooled server connection others get. Read only there is sqlmux's own guard (§13).

…ler refuses it

PgBouncer and other poolers reject startup parameters they do not track
(FATAL: unsupported startup parameter, SQLSTATE 08P01), so the read-only
Meta connection could not connect through them. Retry without it; no SET
afterwards, since that would stick to a pooled server connection others
get. Read only there is sqlmux's own guard (§13).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@odilovalisher17
odilovalisher17 merged commit 63cbbf9 into main Nov 9, 2026
3 of 4 checks passed
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