X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F46xml-to-pg.t;fp=t%2F46xml-to-pg.t;h=215d42fce2c1a4953c54b63199e58f1651f39120;hb=e1b1c9483066f211617f73d6f1e8d38452b5d0a2;hp=dcdb01f0594f93c06483ea10e24df75689e4d77b;hpb=f7abfd61ab8f7ef2c51401292aa944941153b165;p=dbsrgits%2FSQL-Translator.git diff --git a/t/46xml-to-pg.t b/t/46xml-to-pg.t index dcdb01f..215d42f 100644 --- a/t/46xml-to-pg.t +++ b/t/46xml-to-pg.t @@ -65,4 +65,9 @@ CREATE VIEW "email_list" ( "email" ) AS ALTER TABLE "Basic" ADD FOREIGN KEY ("another_id") REFERENCES "Another" ("id") DEFERRABLE; +CREATE TRIGGER foo_trigger after insert ON Basic update modified=timestamp();; + +CREATE TRIGGER bar_trigger before insert or update ON Basic update modified2=timestamp();; + +select foo from bar SQL