Re: Foreign key reference causes invalid DELETE trigger calls - Mailing list pgsql-general

From Tom Lane
Subject Re: Foreign key reference causes invalid DELETE trigger calls
Date
Msg-id 19565.1131572197@sss.pgh.pa.us
Whole thread Raw
In response to Re: Foreign key reference causes invalid DELETE trigger calls  ("Andrus" <eetasoft@online.ee>)
List pgsql-general
"Andrus" <eetasoft@online.ee> writes:
> I tried following code:

> insert into klient values (1);
> update klient set kood=2 WHERE kood=3;

> In this case, foo_trig trigger is NOT executed.

Well, yes, because that UPDATE didn't change any rows of the master
table.

            regards, tom lane

pgsql-general by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: libpq version in rpm packages
Next
From: rm_pg@cheapcomplexdevices.com
Date:
Subject: set-valued function difference in 8.1.0 vs 8.0.2