Is there a technical limitation which prevents DO from being used in rules or 
am I missing something with this?

CREATE RULE test_update AS ON UPDATE TO test DO INSTEAD DO $$                   
                                                        
                 BEGIN;                                                         
                                                                                
                 RAISE NOTICE 'hello';                                          
                                                                                
                 END;                                                           
                                                                                
               $$;  

Cheers,
M
-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to