Skip to content

Commit

Permalink
Add failing test for issue #18
Browse files Browse the repository at this point in the history
  • Loading branch information
lelit committed Apr 1, 2019
1 parent ab40988 commit d0fcba8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_printers_prettification/ddl/create_trigger.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,14 @@ CREATE TRIGGER trg_celery_periodic_tasks_950_after_update
OR old.run_on_days IS DISTINCT FROM new.run_on_days
OR old.run_on_months IS DISTINCT FROM new.run_on_months))
EXECUTE PROCEDURE celery.notify_periodic_tasks_changed()

CREATE TRIGGER trig1 AFTER UPDATE ON schema1.table1
FOR EACH ROW WHEN (new.col1 IS DISTINCT FROM old.col1)
EXECUTE PROCEDURE schema1.func1()
=
CREATE TRIGGER trig1
AFTER UPDATE
ON schema1.table1
FOR EACH ROW
WHEN (new.col1 IS DISTINCT FROM old.col1)
EXECUTE PROCEDURE schema1.func1()

0 comments on commit d0fcba8

Please sign in to comment.