mirror of https://github.com/postgres/postgres
These triggers are identical except for whether ri_Check_Pk_Match is to be called, so factor out the common code to save a couple hundred lines. Also, eliminate null-column checks in ri_Check_Pk_Match, since they're duplicate with the calling functions and require unnecessary complication in its API statement. Simplify the way code is shared between RI_FKey_check_ins and RI_FKey_check_upd, too.pull/3/head
parent
48756be9cf
commit
fe3db74002
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue