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
schemachanger: add function back-references for unvalidated check constraints
When adding a check constraint with NOT VALID that references a function, the
declarative schema changer was not creating the necessary bidirectional
references between the constraint and the function. This caused validation to
fail with "depends-on function has no corresponding depended-on-by back reference".
The fix adds the missing dependency in the opgen rules. Interestingly, the
opgen rules for validated constraints do have the proper function dep handling.
Fixes#155400
Release note (bug fix): Added proper dependency handling when adding a
constraint with NOT VALID that references a UDF.
0 commit comments