Richard Broersma Jr <rabroersma@xxxxxxxxx> writes: > So is the purpose of knowing the reference_table OID, is that it helps to generalize the logic of the CONSTRAINT TRIGGERS? No, the purpose is to support foreign-key triggers. FK constraints are implemented via cooperating triggers on the two tables, and each trigger has to be able to look at the other table. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings