Re: Constraint Trigger's referenced_table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Constraint Trigger's referenced_table
Дата
Msg-id 27863.1198359965@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Constraint Trigger's referenced_table  (Richard Broersma Jr <rabroersma@yahoo.com>)
Ответы Re: Constraint Trigger's referenced_table
Re: Constraint Trigger's referenced_table
Список pgsql-general
Richard Broersma Jr <rabroersma@yahoo.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

В списке pgsql-general по дате отправления: