cockroachdb / cockroachdb/docs
sql: allow atomic name swaps
Open
C-product-change
no-issue-activity
release-22.1
- Dominant language
- HTML
- Stars
- 212
- Forks
- 476
- Avg merge
- 40m
- Merged PRs (30d)
- 3
Description
Exalate commented:
https://github.com/cockroachdb/cockroach/pull/70334 --- Release note (sql change): It's now possible to swap names (for tables, etc.) in the same transaction. For example: CREATE TABLE foo(); BEGIN; ALTER TABLE foo RENAME TO bar; CREATE TABLE foo(); COMMIT; Previously, we'd be getting a "relation ... already exists" error.
Jira Issue: DOC-1676
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.