Re: [BUGS] Rules not executed on child tables

2010-09-17 Thread Robert Haas
On Wed, Aug 18, 2010 at 5:36 AM, wrote: > I noticed that when an action is executed on a parent table, rules for that > action that are defined on its child tables are ignored. I think this is actually design behavior. It's really hard to use rules for anything useful (other than views); you mi

[BUGS] Rules not executed on child tables

2010-08-18 Thread depstein
Hi, I noticed that when an action is executed on a parent table, rules for that action that are defined on its child tables are ignored. Example: create table A (ind integer); create table B () inherits (A); CREATE OR REPLACE RULE B_delete_rule AS ON DELETE TO B DO INSTEAD NOTHING; insert