Skip to content

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

Merged
dvarrazzo merged 1 commit intomaint-3.1from
commit-simple-protocol
May 15, 2024
Merged

Use simple query protocol to execute BEGIN/COMMIT out of pipeline mode#820
dvarrazzo merged 1 commit intomaint-3.1from
commit-simple-protocol

Conversation

@dvarrazzo
Copy link
Copy Markdown
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 force-pushed the commit-simple-protocol branch from a25378a to 7479bae Compare May 15, 2024 16:33
@dvarrazzo dvarrazzo merged commit 359be4f into maint-3.1 May 15, 2024
@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.

2 participants