Re: foreign keys and RI triggers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: foreign keys and RI triggers
Дата
Msg-id 14900.1117206578@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: foreign keys and RI triggers  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
>> (b) it can share infrastructure with the other RI triggers.

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

Note the ri_BuildQueryKeyFull call, and the arguments thereto.

As to the notational convenience issue, I think it's good that
RI_FKey_keyequal_upd looks almost exactly like the other RI trigger
functions.  Having it look different in order to save a couple lines
in trigger.c doesn't seem like a win to me.
        regards, tom lane


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

Предыдущее
От: "Mark Cave-Ayland"
Дата:
Сообщение: Re: Cost of XLogInsert CRC calculations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: A 2 phase commit weirdness