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
155404: schemachanger: add function back-references for unvalidated check constraints r=spilchen a=spilchen
When adding a check constraint with NOT VALID that references a function, the declarative schema changer was not creating the necessary 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.
Co-authored-by: Matt Spilchen <[email protected]>
0 commit comments