- Notifications
You must be signed in to change notification settings - Fork5
Commitfe3db74
committed
Share RI trigger code between NO ACTION and RESTRICT cases.
These triggers are identical except for whether ri_Check_Pk_Match is to becalled, so factor out the common code to save a couple hundred lines.Also, eliminate null-column checks in ri_Check_Pk_Match, since they'reduplicate with the calling functions and require unnecessary complicationin its API statement.Simplify the way code is shared between RI_FKey_check_ins andRI_FKey_check_upd, too.1 parent48756be commitfe3db74
File tree
3 files changed
+282
-544
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+282
-544
lines changed0 commit comments
Comments
(0)