Re: multiple action rules

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: multiple action rules
Date: 2005-06-23 14:24:52
Message-ID: 4821.1119536692@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Marlowe <smarlowe(at)g2switchworks(dot)com> writes:
> Now I'm thinking I should make a patch for a demonstration of making a
> rule with >1 action though...

You're right, there are no such examples. It would be interesting to
make a full-fledged demonstration of maintaining a join view (where
delete from the join means delete from both tables) --- in particular
the need to use an outer join so that the first table delete doesn't
cause rows to disappear from the view.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-06-23 14:36:14 Re: Corrupted index
Previous Message Tom Lane 2005-06-23 14:22:53 Re: Propogating conditions into a query