aboutsummaryrefslogtreecommitdiffstats
path: root/python/dawn_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/dawn_utils.py')
-rw-r--r--python/dawn_utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/dawn_utils.py b/python/dawn_utils.py
index 1c49d591..60a90d1f 100644
--- a/python/dawn_utils.py
+++ b/python/dawn_utils.py
@@ -28,6 +28,9 @@ identifier = COALESCE(identifier, cusip, isin)', NEW.id);
ELSIF (TG_TABLE_NAME = 'futures') THEN
stub := 'SCFUT';
sqlstr := format(sqlstr, 'dealid = $1||id', NEW.id);
+ ELSIF (TG_TABLE_NAME = 'wires') THEN
+ stub := 'SCCSH';
+ sqlstr := format(sqlstr, 'dealid = $1||id', NEW.id);
END IF;
EXECUTE sqlstr USING stub;
RETURN NEW;