Re: Foreign Key & Rule confusion WAS: Lost Trigger(s)?

From: "Rod Taylor" <rod(dot)taylor(at)inquent(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Hackers List" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Foreign Key & Rule confusion WAS: Lost Trigger(s)?
Date: 2001-04-06 12:53:37
Message-ID: 026f01c0be98$9f738b70$2205010a@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Not quite as expected. I didn't expect deleting the 2 from the
primary table to fail because the CASCADE DELETE wasn't able to run on
the second (even though no values existed in that table). I suppose
it does run properly (blocks all delete attempts) -- but I just didn't
expect it to error out on values which didn't exist in the second
table -- thereby blocking the deletion from the primary or referred
table..

Tried against 7.1beta3 and 7.1beta5.

--
Rod Taylor

There are always four sides to every story: your side, their side, the
truth, and what really happened.
----- Original Message -----
From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rod Taylor" <rbt(at)zort(dot)ca>
Cc: "Hackers List" <pgsql-hackers(at)postgresql(dot)org>
Sent: Friday, April 06, 2001 1:54 AM
Subject: Re: [HACKERS] Foreign Key & Rule confusion WAS: Lost
Trigger(s)?

> "Rod Taylor" <rbt(at)zort(dot)ca> writes:
> > Found the issue. Try out the attached SQL in a fresh database.
>
> And? AFAICT it behaves as expected, in either 7.0.2 or current ...
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2001-04-06 13:46:22 Re: Integer to float function
Previous Message Steven Vajdic 2001-04-06 09:27:16 Integer to float function