Re: RULE: ON DELETE doesn't stack deletes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rod Taylor <rbt(at)rbt(dot)ca>
Cc: Malcolm Hutty <msah-postgres(at)hutty(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: RULE: ON DELETE doesn't stack deletes
Date: 2002-11-27 02:23:04
Message-ID: 13091.1038363784@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Rod Taylor <rbt(at)rbt(dot)ca> writes:
> Could it be because once the DELETE FROM A has run the tuple no longer
> exists in the view?

Precisely. OLD is only a macro for the view, and the first delete
changes what's in the view ...

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-11-27 02:26:58 Re: Minor build nits in 7.3rc1
Previous Message Tom Lane 2002-11-27 02:20:24 Re: version for sun cobalt qube 3