Cascading Updates - Mailing list pgsql-general

From Marcus Mascari
Subject Cascading Updates
Date
Msg-id 19990129103509.11737.rocketmail@send105.yahoomail.com
Whole thread Raw
List 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 by date:

Previous
From: Marcus Mascari
Date:
Subject: Cascading Updates
Next
From: "Alex P. Rudnev"
Date:
Subject: Re: [GENERAL] Cascading Updates