forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: backward compat for ALTER PARTITION OF TABLE
When we made partition names index-scoped, we removed the ability to specify secondary index partitions in the ALTER PARTITION ... OF TABLE command. However I'm concerned this could break some backward compatibility. I restored that behavior but added logic to throw an error if there are multiple partitions with the same name. Fixes cockroachdb#40425 Release note: None
- Loading branch information
1 parent
bdf41f7
commit 65c5e37
Showing
3 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters