> > CREATE RULE PasTouche AS ON UPDATE TO foo > > WHERE old.locked=TRUE > > DO INSTEAD ERROR; > > This would be sensible if rules were actually reasonable substitutes for > triggers, but they are not. > > If you check the archives you will find many many cases where people > tried to do this sort of thing, and got burned by the fundamental > semantic differences ...
Ok, I'll look into that. Thanks for the pointer. -- Fabien Coelho - [EMAIL PROTECTED] ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org