From: Aaron Trevena Date: Sat, 13 Jun 2009 19:28:24 +0000 (+0000) Subject: added expected trigger and stored procedure output X-Git-Tag: v0.11008~150 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FSQL-Translator.git;a=commitdiff_plain;h=e1b1c9483066f211617f73d6f1e8d38452b5d0a2 added expected trigger and stored procedure output --- 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