-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scbuild: add missing name check for ALTER PRIMARY KEY
Previously, this check was missing, leading the schema change to hang due to a validation failure in a non-revertible post-commit transaction. This patch maintains the existing behavior of the legacy schema changer which doesn't distinguish between unique and non-unique indexes: all name collisions will be reported as constraint name collisions despite non-unique indexes not being constraints. Fixes #88131. Release justification: low-risk high-value bug fix Release note: None
- Loading branch information
Marius Posta
committed
Sep 19, 2022
1 parent
58589fd
commit 7016ae3
Showing
2 changed files
with
52 additions
and
0 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