I need to set up a 'ON INSERT' rule that would update a column in the inserted row (and not update the column for the hole set of entries) :
CREATE OR REPLACE RULE _myrule AS ON INSERT TO myTable DO UPDATE myTable SET col1 = 'test' ;
The above statement will set the 'test' string for all entries... I can't find out how to specify this in the rule syntax.
Thanks in advance for help !