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

Use simple query protocol to execute BEGIN/COMMIT out of pipeline mode #820

Merged
merged 1 commit into from
May 15, 2024

Conversation

dvarrazzo
Copy link
Member

We started using the extended protocol in e507918 to fix #350, but, probably to keep symmetry, we also changed the behaviour out of the pipeline.

This turns out to be a problem for people connecting to the PgBouncer admin console. They can use the ClientCursor, which tries to use the simple protocol as much as it can, but they currently have to use autocommit. With this changeset autocommit shouldn't be needed anymore. See #808.

…eline

We started using the extended protocol in e507918 to fix #350, but,
probably to keep symmetry, we also changed the behaviour out of the
pipeline.

This turns out to be a problem for people connecting to the PgBouncer
admin console. They can use the `ClientCursor`, which tries to use the
simple protocol as much as it can, but they currently have to use
autocommit. With this changeset autocommit shouldn't be needed anymore.
See #808.
@dvarrazzo dvarrazzo merged commit 359be4f into maint-3.1 May 15, 2024
93 of 94 checks passed
@dvarrazzo dvarrazzo deleted the commit-simple-protocol branch May 15, 2024 16:34
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

2 participants