Richard Broersma Jr <rabroersma(at)yahoo(dot)com> 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