Re: Constraint Trigger's referenced_table

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: Constraint Trigger's referenced_table
Дата
Msg-id 545273.43139.qm@web31815.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: Constraint Trigger's referenced_table  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Constraint Trigger's referenced_table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
--- On Sat, 12/22/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> 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.

Sorry Tom,  I guess I am still a bit confused about how all of this works and if there are any useful ways I can use
thisfeature to enforce the slightly more complicated temporal foreign-key RI.   

Does any documentation exist that I could spend some time reading that explains detail the cooperation between triggers
onthe two tables? 

Regards,
Richard Broersma Jr.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Constraint Trigger's referenced_table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Constraint Trigger's referenced_table