Add trigger support to PostgreSQL producer and parser (including trigger scope)
authorAaron Schrab <aaron@schrab.com>
Tue, 10 May 2011 22:15:26 +0000 (18:15 -0400)
committerPeter Rabbitson <ribasushi@cpan.org>
Sat, 24 Dec 2011 17:11:32 +0000 (18:11 +0100)
commitc96cd4a82bc9447c278ecf2416a7f8fb052853a7
treeaae2ecf1346b747e0d2d617ab789cb14e25f740c
parent20530f39ab96c7513b7de6c96f043e4213e3356b
Add trigger support to PostgreSQL producer and parser (including trigger scope)

PostgreSQL triggers can be fired either once for a statement (the
default), or for each row affected by the statement.  Add support to
declare which type of trigger should is wanted by setting the "scope" of
the trigger.
Changes
lib/SQL/Translator/Parser/PostgreSQL.pm
lib/SQL/Translator/Producer/PostgreSQL.pm
lib/SQL/Translator/Schema/Trigger.pm
t/14postgres-parser.t
t/46xml-to-pg.t