Re: foreign keys and RI triggers

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: foreign keys and RI triggers
Дата
Msg-id 42972CDE.505@samurai.com
обсуждение исходный текст
Ответ на Re: foreign keys and RI triggers  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: foreign keys and RI triggers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Because (a) it needs all the same arguments

Well, it needs the Trigger that we're in the process of queueing, the 
old tuple, the new tuple, and the updated relation. It doesn't need the 
rest of the content of TriggerData. trigger.c has to manually construct 
a TriggerData to pass to it, so it's not like it's a notational convenience.

> (b) it can share infrastructure with the other RI triggers.

Such as? I don't see anything it allows us to share.

-Neil


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Multiple-statement Rules Incompatible With Constraints
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: A 2 phase commit weirdness