Search Postgresql Archives

sql DO in rule 9.0rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux