aboutsummaryrefslogtreecommitdiffstats
path: root/sql/dawn.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/dawn.sql')
-rw-r--r--sql/dawn.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/dawn.sql b/sql/dawn.sql
index b0ebb6b5..9b2558ec 100644
--- a/sql/dawn.sql
+++ b/sql/dawn.sql
@@ -318,7 +318,7 @@ UPDATE
traded_level,
notional,
protection ON
- cds FOR EACH ROW EXECUTE FUNCTION notify_id();
+ cds FOR EACH ROW WHEN (current_setting('application_name') != 'autobooker') EXECUTE FUNCTION notify_id();
CREATE OR REPLACE function update_attach()