Cascading Updates

Поиск
Список
Период
Сортировка
От Marcus Mascari
Тема Cascading Updates
Дата
Msg-id 19990129103509.11737.rocketmail@send105.yahoomail.com
обсуждение исходный текст
Список pgsql-general
Well,

I attempted to modify refint.c myself to support
cascading updates, but I'm seeing a weird affect.
The cascing update works, except only on the first
execution of the update.  Each additional update
doesn't cause any change to the related tables.
If, however, I close the client, say, psql, and
then perform another update, the trigger fires and
the cascading update is performed.

All I changed in the code was to perform an update
with the new key values when the type was a 'c',
cascade, for UPDATE triggers, instead of setting
those values to NULL.

Any hints?

Marcus Mascari (mascarim@yahoo.com)








_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Предыдущее
От: Marcus Mascari
Дата:
Сообщение: Cascading Updates
Следующее
От: "Alex P. Rudnev"
Дата:
Сообщение: Re: [GENERAL] Cascading Updates