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

release-22.1: sql: execute batch statements in an implicit transaction #13258

Closed
cockroach-teamcity opened this issue Mar 16, 2022 · 0 comments · Fixed by #15696
Closed

release-22.1: sql: execute batch statements in an implicit transaction #13258

cockroach-teamcity opened this issue Mar 16, 2022 · 0 comments · Fixed by #15696

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Mar 16, 2022

Exalate commented:

cockroachdb/cockroach#77865 --- Release note (sql change): The enable_implicit_transaction_for_batch_statements session variable was added. It defaults to true. When it is true, multiple statements in a single query (a.k.a. a "batch statement") will all be run in the same implicit transaction, which matches the Postgres wire protocol. This setting is provided for users who want to preserve the behavior of CockroachDB versions v21.2 and earlier.


update: see #13269 -- we decided that we'd actually make enable_implicit_transaction_for_batch_statements false by default for v22.1. For v22.2 in the fall, it will be true by default.

Jira Issue: DOC-2913

Jira Issue: DOC-4376

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant