You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql/schemachanger: fix sequence dependency tracking for triggers
Previously, when the declarative schema changer was cleaning up
back-references for sequences, it ignored references that existed in
triggers. This could lead to scenarios where back-references were
incorrectly cleaned up. To address this, this patch updates the
back-reference update logic to include references from triggers.
Additionally, new build-only test validation has been added to detect
this scenario.
Fixes: #148103
Release note (bug fix): Fixed a bug where sequences could lose
references to triggers, allowing them to be dropped incorrectly.
0 commit comments