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

sql: execute batch statements in an implicit transaction #13254

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

sql: execute batch statements in an implicit transaction #13254

cockroach-teamcity opened this issue Mar 15, 2022 · 2 comments · Fixed by #15696

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Mar 15, 2022

Exalate commented:

cockroachdb/cockroach#76834 --- 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.

Jira Issue: DOC-2910

Jira Issue: DOC-4384

@rafiss
Copy link
Contributor

rafiss commented Mar 15, 2022

I changed the branch label since this intended for release in 22.1 : cockroachdb/cockroach#77865

@rafiss
Copy link
Contributor

rafiss commented Mar 16, 2022

ah nvm, I see #13258 gets filed automatically

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.

2 participants