Re: DO INSTEAD and conditional rules - Mailing list pgsql-hackers

From Tom Lane
Subject Re: DO INSTEAD and conditional rules
Date
Msg-id 14238.1114552603@sss.pgh.pa.us
Whole thread Raw
In response to Re: DO INSTEAD and conditional rules  (Rob Butler <crodster2k@yahoo.com>)
List pgsql-hackers
Rob Butler <crodster2k@yahoo.com> writes:
> For this particular scenario, can't you just create
> two  ON DELETE rules?  The first would delete from b,
> the second from a.  Perhaps an example with a scenario
> like this can be added to the doc's?

No, that doesn't work any more than the other way.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to make lazy VACUUM of one table run in several transactions ?
Next
From: Tom Lane
Date:
Subject: Re: DO INSTEAD and conditional rules