--
-- TOC Entry ID 129 (OID 4743943)
--
-- Name: "RI_ConstraintTrigger_4743942" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "user_1_fk" AFTER INSERT OR UPDATE ON "user_tab"  FROM "group_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('user_1_fk', 'user_tab', 'group_tab', 'UNSPECIFIED', 'group_id', 'group_id');

--
-- TOC Entry ID 127 (OID 4743945)
--
-- Name: "RI_ConstraintTrigger_4743944" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "user_1_fk" AFTER DELETE ON "group_tab"  FROM "user_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('user_1_fk', 'user_tab', 'group_tab', 'UNSPECIFIED', 'group_id', 'group_id');

--
-- TOC Entry ID 128 (OID 4743947)
--
-- Name: "RI_ConstraintTrigger_4743946" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "user_1_fk" AFTER UPDATE ON "group_tab"  FROM "user_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('user_1_fk', 'user_tab', 'group_tab', 'UNSPECIFIED', 'group_id', 'group_id');

--
-- TOC Entry ID 145 (OID 4743949)
--
-- Name: "RI_ConstraintTrigger_4743948" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "catch_1_fk" AFTER INSERT OR UPDATE ON "catch_tab"  FROM "user_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('catch_1_fk', 'catch_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 130 (OID 4743951)
--
-- Name: "RI_ConstraintTrigger_4743950" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "catch_1_fk" AFTER DELETE ON "user_tab"  FROM "catch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('catch_1_fk', 'catch_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 131 (OID 4743953)
--
-- Name: "RI_ConstraintTrigger_4743952" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "catch_1_fk" AFTER UPDATE ON "user_tab"  FROM "catch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('catch_1_fk', 'catch_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 163 (OID 4743955)
--
-- Name: "RI_ConstraintTrigger_4743954" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "stretch_1_fk" AFTER INSERT OR UPDATE ON "stretch_tab"  FROM "catch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('stretch_1_fk', 'stretch_tab', 'catch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id');

--
-- TOC Entry ID 146 (OID 4743957)
--
-- Name: "RI_ConstraintTrigger_4743956" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "stretch_1_fk" AFTER DELETE ON "catch_tab"  FROM "stretch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_cascade_del" ('stretch_1_fk', 'stretch_tab', 'catch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id');

--
-- TOC Entry ID 147 (OID 4743959)
--
-- Name: "RI_ConstraintTrigger_4743958" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "stretch_1_fk" AFTER UPDATE ON "catch_tab"  FROM "stretch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('stretch_1_fk', 'stretch_tab', 'catch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id');

--
-- TOC Entry ID 166 (OID 4743961)
--
-- Name: "RI_ConstraintTrigger_4743960" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "disch_1_fk" AFTER INSERT OR UPDATE ON "disch_tab"  FROM "stretch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('disch_1_fk', 'disch_tab', 'stretch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id', 'stretch_id', 'stretch_id');

--
-- TOC Entry ID 164 (OID 4743963)
--
-- Name: "RI_ConstraintTrigger_4743962" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "disch_1_fk" AFTER DELETE ON "stretch_tab"  FROM "disch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_cascade_del" ('disch_1_fk', 'disch_tab', 'stretch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id', 'stretch_id', 'stretch_id');

--
-- TOC Entry ID 165 (OID 4743965)
--
-- Name: "RI_ConstraintTrigger_4743964" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "disch_1_fk" AFTER UPDATE ON "stretch_tab"  FROM "disch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('disch_1_fk', 'disch_tab', 'stretch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id', 'stretch_id', 'stretch_id');

--
-- TOC Entry ID 150 (OID 4743967)
--
-- Name: "RI_ConstraintTrigger_4743966" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "backgrd_2_fk" AFTER INSERT OR UPDATE ON "backgrd_join_tab"  FROM "bin_obj_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('backgrd_2_fk', 'backgrd_join_tab', 'bin_obj_tab', 'UNSPECIFIED', 'bin_obj_id', 'bin_obj_id');

--
-- TOC Entry ID 125 (OID 4743969)
--
-- Name: "RI_ConstraintTrigger_4743968" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "backgrd_2_fk" AFTER DELETE ON "bin_obj_tab"  FROM "backgrd_join_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_cascade_del" ('backgrd_2_fk', 'backgrd_join_tab', 'bin_obj_tab', 'UNSPECIFIED', 'bin_obj_id', 'bin_obj_id');

--
-- TOC Entry ID 126 (OID 4743971)
--
-- Name: "RI_ConstraintTrigger_4743970" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "backgrd_2_fk" AFTER UPDATE ON "bin_obj_tab"  FROM "backgrd_join_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('backgrd_2_fk', 'backgrd_join_tab', 'bin_obj_tab', 'UNSPECIFIED', 'bin_obj_id', 'bin_obj_id');

--
-- TOC Entry ID 151 (OID 4743973)
--
-- Name: "RI_ConstraintTrigger_4743972" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "subst_1_fk" AFTER INSERT OR UPDATE ON "subst_tab"  FROM "user_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('subst_1_fk', 'subst_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 132 (OID 4743975)
--
-- Name: "RI_ConstraintTrigger_4743974" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "subst_1_fk" AFTER DELETE ON "user_tab"  FROM "subst_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('subst_1_fk', 'subst_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 133 (OID 4743977)
--
-- Name: "RI_ConstraintTrigger_4743976" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "subst_1_fk" AFTER UPDATE ON "user_tab"  FROM "subst_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('subst_1_fk', 'subst_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 156 (OID 4743979)
--
-- Name: "RI_ConstraintTrigger_4743978" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "subst_det_1_fk" AFTER INSERT OR UPDATE ON "subst_det_tab"  FROM "subst_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('subst_det_1_fk', 'subst_det_tab', 'subst_tab', 'UNSPECIFIED', 'subst_id', 'subst_id');

--
-- TOC Entry ID 152 (OID 4743981)
--
-- Name: "RI_ConstraintTrigger_4743980" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "subst_det_1_fk" AFTER DELETE ON "subst_tab"  FROM "subst_det_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_cascade_del" ('subst_det_1_fk', 'subst_det_tab', 'subst_tab', 'UNSPECIFIED', 'subst_id', 'subst_id');

--
-- TOC Entry ID 153 (OID 4743983)
--
-- Name: "RI_ConstraintTrigger_4743982" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "subst_det_1_fk" AFTER UPDATE ON "subst_tab"  FROM "subst_det_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('subst_det_1_fk', 'subst_det_tab', 'subst_tab', 'UNSPECIFIED', 'subst_id', 'subst_id');

--
-- TOC Entry ID 157 (OID 4743985)
--
-- Name: "RI_ConstraintTrigger_4743984" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "env_1_fk" AFTER INSERT OR UPDATE ON "env_tab"  FROM "user_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('env_1_fk', 'env_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 134 (OID 4743987)
--
-- Name: "RI_ConstraintTrigger_4743986" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "env_1_fk" AFTER DELETE ON "user_tab"  FROM "env_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('env_1_fk', 'env_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 135 (OID 4743989)
--
-- Name: "RI_ConstraintTrigger_4743988" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "env_1_fk" AFTER UPDATE ON "user_tab"  FROM "env_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('env_1_fk', 'env_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 162 (OID 4743991)
--
-- Name: "RI_ConstraintTrigger_4743990" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "env_det_1_fk" AFTER INSERT OR UPDATE ON "env_det_tab"  FROM "env_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('env_det_1_fk', 'env_det_tab', 'env_tab', 'UNSPECIFIED', 'env_id', 'env_id');

--
-- TOC Entry ID 158 (OID 4743993)
--
-- Name: "RI_ConstraintTrigger_4743992" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "env_det_1_fk" AFTER DELETE ON "env_tab"  FROM "env_det_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_cascade_del" ('env_det_1_fk', 'env_det_tab', 'env_tab', 'UNSPECIFIED', 'env_id', 'env_id');

--
-- TOC Entry ID 159 (OID 4743995)
--
-- Name: "RI_ConstraintTrigger_4743994" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "env_det_1_fk" AFTER UPDATE ON "env_tab"  FROM "env_det_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('env_det_1_fk', 'env_det_tab', 'env_tab', 'UNSPECIFIED', 'env_id', 'env_id');

--
-- TOC Entry ID 171 (OID 4743997)
--
-- Name: "RI_ConstraintTrigger_4743996" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "market_1_fk" AFTER INSERT OR UPDATE ON "market_tab"  FROM "disch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('market_1_fk', 'market_tab', 'disch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id', 'disch_id', 'disch_id');

--
-- TOC Entry ID 167 (OID 4743999)
--
-- Name: "RI_ConstraintTrigger_4743998" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "market_1_fk" AFTER DELETE ON "disch_tab"  FROM "market_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_cascade_del" ('market_1_fk', 'market_tab', 'disch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id', 'disch_id', 'disch_id');

--
-- TOC Entry ID 168 (OID 4744001)
--
-- Name: "RI_ConstraintTrigger_4744000" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "market_1_fk" AFTER UPDATE ON "disch_tab"  FROM "market_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('market_1_fk', 'market_tab', 'disch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id', 'disch_id', 'disch_id');

--
-- TOC Entry ID 172 (OID 4744003)
--
-- Name: "RI_ConstraintTrigger_4744002" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "market_2_fk" AFTER INSERT OR UPDATE ON "market_tab"  FROM "user_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('market_2_fk', 'market_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 136 (OID 4744005)
--
-- Name: "RI_ConstraintTrigger_4744004" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "market_2_fk" AFTER DELETE ON "user_tab"  FROM "market_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('market_2_fk', 'market_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 137 (OID 4744007)
--
-- Name: "RI_ConstraintTrigger_4744006" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "market_2_fk" AFTER UPDATE ON "user_tab"  FROM "market_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('market_2_fk', 'market_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 173 (OID 4744009)
--
-- Name: "RI_ConstraintTrigger_4744008" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "mod_1_fk" AFTER INSERT OR UPDATE ON "mod_tab"  FROM "user_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('mod_1_fk', 'mod_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 138 (OID 4744011)
--
-- Name: "RI_ConstraintTrigger_4744010" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "mod_1_fk" AFTER DELETE ON "user_tab"  FROM "mod_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('mod_1_fk', 'mod_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 139 (OID 4744013)
--
-- Name: "RI_ConstraintTrigger_4744012" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "mod_1_fk" AFTER UPDATE ON "user_tab"  FROM "mod_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('mod_1_fk', 'mod_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 178 (OID 4744015)
--
-- Name: "RI_ConstraintTrigger_4744014" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "mod_det_1_fk" AFTER INSERT OR UPDATE ON "mod_det_tab"  FROM "mod_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('mod_det_1_fk', 'mod_det_tab', 'mod_tab', 'UNSPECIFIED', 'mod_id', 'mod_id');

--
-- TOC Entry ID 174 (OID 4744017)
--
-- Name: "RI_ConstraintTrigger_4744016" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "mod_det_1_fk" AFTER DELETE ON "mod_tab"  FROM "mod_det_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_cascade_del" ('mod_det_1_fk', 'mod_det_tab', 'mod_tab', 'UNSPECIFIED', 'mod_id', 'mod_id');

--
-- TOC Entry ID 175 (OID 4744019)
--
-- Name: "RI_ConstraintTrigger_4744018" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "mod_det_1_fk" AFTER UPDATE ON "mod_tab"  FROM "mod_det_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('mod_det_1_fk', 'mod_det_tab', 'mod_tab', 'UNSPECIFIED', 'mod_id', 'mod_id');

--
-- TOC Entry ID 186 (OID 4744021)
--
-- Name: "RI_ConstraintTrigger_4744020" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "res_disch_1_fk" AFTER INSERT OR UPDATE ON "res_disch_tab"  FROM "res_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('res_disch_1_fk', 'res_disch_tab', 'res_tab', 'UNSPECIFIED', 'res_id', 'res_id');

--
-- TOC Entry ID 180 (OID 4744023)
--
-- Name: "RI_ConstraintTrigger_4744022" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "res_disch_1_fk" AFTER DELETE ON "res_tab"  FROM "res_disch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_cascade_del" ('res_disch_1_fk', 'res_disch_tab', 'res_tab', 'UNSPECIFIED', 'res_id', 'res_id');

--
-- TOC Entry ID 181 (OID 4744025)
--
-- Name: "RI_ConstraintTrigger_4744024" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "res_disch_1_fk" AFTER UPDATE ON "res_tab"  FROM "res_disch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('res_disch_1_fk', 'res_disch_tab', 'res_tab', 'UNSPECIFIED', 'res_id', 'res_id');

--
-- TOC Entry ID 187 (OID 4744027)
--
-- Name: "RI_ConstraintTrigger_4744026" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "res_stretch_1_fk" AFTER INSERT OR UPDATE ON "res_stretch_tab"  FROM "res_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('res_stretch_1_fk', 'res_stretch_tab', 'res_tab', 'UNSPECIFIED', 'res_id', 'res_id');

--
-- TOC Entry ID 182 (OID 4744029)
--
-- Name: "RI_ConstraintTrigger_4744028" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "res_stretch_1_fk" AFTER DELETE ON "res_tab"  FROM "res_stretch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_cascade_del" ('res_stretch_1_fk', 'res_stretch_tab', 'res_tab', 'UNSPECIFIED', 'res_id', 'res_id');

--
-- TOC Entry ID 183 (OID 4744031)
--
-- Name: "RI_ConstraintTrigger_4744030" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "res_stretch_1_fk" AFTER UPDATE ON "res_tab"  FROM "res_stretch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('res_stretch_1_fk', 'res_stretch_tab', 'res_tab', 'UNSPECIFIED', 'res_id', 'res_id');

--
-- TOC Entry ID 188 (OID 4744033)
--
-- Name: "RI_ConstraintTrigger_4744032" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_1_fk" AFTER INSERT OR UPDATE ON "sess_tab"  FROM "user_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('sess_1_fk', 'sess_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 140 (OID 4744035)
--
-- Name: "RI_ConstraintTrigger_4744034" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_1_fk" AFTER DELETE ON "user_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('sess_1_fk', 'sess_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 141 (OID 4744037)
--
-- Name: "RI_ConstraintTrigger_4744036" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_1_fk" AFTER UPDATE ON "user_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('sess_1_fk', 'sess_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 189 (OID 4744039)
--
-- Name: "RI_ConstraintTrigger_4744038" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_2_fk" AFTER INSERT OR UPDATE ON "sess_tab"  FROM "catch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('sess_2_fk', 'sess_tab', 'catch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id');

--
-- TOC Entry ID 148 (OID 4744041)
--
-- Name: "RI_ConstraintTrigger_4744040" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_2_fk" AFTER DELETE ON "catch_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('sess_2_fk', 'sess_tab', 'catch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id');

--
-- TOC Entry ID 149 (OID 4744043)
--
-- Name: "RI_ConstraintTrigger_4744042" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_2_fk" AFTER UPDATE ON "catch_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('sess_2_fk', 'sess_tab', 'catch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id');

--
-- TOC Entry ID 190 (OID 4744045)
--
-- Name: "RI_ConstraintTrigger_4744044" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_3_fk" AFTER INSERT OR UPDATE ON "sess_tab"  FROM "subst_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('sess_3_fk', 'sess_tab', 'subst_tab', 'UNSPECIFIED', 'subst_id', 'subst_id');

--
-- TOC Entry ID 154 (OID 4744047)
--
-- Name: "RI_ConstraintTrigger_4744046" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_3_fk" AFTER DELETE ON "subst_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('sess_3_fk', 'sess_tab', 'subst_tab', 'UNSPECIFIED', 'subst_id', 'subst_id');

--
-- TOC Entry ID 155 (OID 4744049)
--
-- Name: "RI_ConstraintTrigger_4744048" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_3_fk" AFTER UPDATE ON "subst_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('sess_3_fk', 'sess_tab', 'subst_tab', 'UNSPECIFIED', 'subst_id', 'subst_id');

--
-- TOC Entry ID 191 (OID 4744051)
--
-- Name: "RI_ConstraintTrigger_4744050" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_4_fk" AFTER INSERT OR UPDATE ON "sess_tab"  FROM "env_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('sess_4_fk', 'sess_tab', 'env_tab', 'UNSPECIFIED', 'env_id', 'env_id');

--
-- TOC Entry ID 160 (OID 4744053)
--
-- Name: "RI_ConstraintTrigger_4744052" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_4_fk" AFTER DELETE ON "env_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('sess_4_fk', 'sess_tab', 'env_tab', 'UNSPECIFIED', 'env_id', 'env_id');

--
-- TOC Entry ID 161 (OID 4744055)
--
-- Name: "RI_ConstraintTrigger_4744054" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_4_fk" AFTER UPDATE ON "env_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('sess_4_fk', 'sess_tab', 'env_tab', 'UNSPECIFIED', 'env_id', 'env_id');

--
-- TOC Entry ID 192 (OID 4744057)
--
-- Name: "RI_ConstraintTrigger_4744056" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_5_fk" AFTER INSERT OR UPDATE ON "sess_tab"  FROM "mod_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('sess_5_fk', 'sess_tab', 'mod_tab', 'UNSPECIFIED', 'mod_id', 'mod_id');

--
-- TOC Entry ID 176 (OID 4744059)
--
-- Name: "RI_ConstraintTrigger_4744058" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_5_fk" AFTER DELETE ON "mod_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('sess_5_fk', 'sess_tab', 'mod_tab', 'UNSPECIFIED', 'mod_id', 'mod_id');

--
-- TOC Entry ID 177 (OID 4744061)
--
-- Name: "RI_ConstraintTrigger_4744060" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_5_fk" AFTER UPDATE ON "mod_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('sess_5_fk', 'sess_tab', 'mod_tab', 'UNSPECIFIED', 'mod_id', 'mod_id');

--
-- TOC Entry ID 193 (OID 4744063)
--
-- Name: "RI_ConstraintTrigger_4744062" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_6_fk" AFTER INSERT OR UPDATE ON "sess_tab"  FROM "res_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('sess_6_fk', 'sess_tab', 'res_tab', 'UNSPECIFIED', 'res_id', 'res_id');

--
-- TOC Entry ID 184 (OID 4744065)
--
-- Name: "RI_ConstraintTrigger_4744064" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_6_fk" AFTER DELETE ON "res_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('sess_6_fk', 'sess_tab', 'res_tab', 'UNSPECIFIED', 'res_id', 'res_id');

--
-- TOC Entry ID 185 (OID 4744067)
--
-- Name: "RI_ConstraintTrigger_4744066" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_6_fk" AFTER UPDATE ON "res_tab"  FROM "sess_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('sess_6_fk', 'sess_tab', 'res_tab', 'UNSPECIFIED', 'res_id', 'res_id');

--
-- TOC Entry ID 194 (OID 4744069)
--
-- Name: "RI_ConstraintTrigger_4744068" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_disch_1_fk" AFTER INSERT OR UPDATE ON "sess_disch_tab"  FROM "disch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('sess_disch_1_fk', 'sess_disch_tab', 'disch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id', 'disch_id', 'disch_id');

--
-- TOC Entry ID 169 (OID 4744071)
--
-- Name: "RI_ConstraintTrigger_4744070" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_disch_1_fk" AFTER DELETE ON "disch_tab"  FROM "sess_disch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_cascade_del" ('sess_disch_1_fk', 'sess_disch_tab', 'disch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id', 'disch_id', 'disch_id');

--
-- TOC Entry ID 170 (OID 4744073)
--
-- Name: "RI_ConstraintTrigger_4744072" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_disch_1_fk" AFTER UPDATE ON "disch_tab"  FROM "sess_disch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('sess_disch_1_fk', 'sess_disch_tab', 'disch_tab', 'UNSPECIFIED', 'catch_id', 'catch_id', 'disch_id', 'disch_id');

--
-- TOC Entry ID 195 (OID 4744075)
--
-- Name: "RI_ConstraintTrigger_4744074" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_disch_2_fk" AFTER INSERT OR UPDATE ON "sess_disch_tab"  FROM "user_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('sess_disch_2_fk', 'sess_disch_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 142 (OID 4744077)
--
-- Name: "RI_ConstraintTrigger_4744076" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_disch_2_fk" AFTER DELETE ON "user_tab"  FROM "sess_disch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_del" ('sess_disch_2_fk', 'sess_disch_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');

--
-- TOC Entry ID 143 (OID 4744079)
--
-- Name: "RI_ConstraintTrigger_4744078" Type: TRIGGER Owner: greater
--

CREATE CONSTRAINT TRIGGER "sess_disch_2_fk" AFTER UPDATE ON "user_tab"  FROM "sess_disch_tab" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_noaction_upd" ('sess_disch_2_fk', 'sess_disch_tab', 'user_tab', 'UNSPECIFIED', 'user_id', 'user_id');
