aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/exchange_do_insert_kyc_attributes.sql
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-06-26 00:09:01 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-06-26 00:09:01 +0200
commitb87d1112ea479537bda5e1ba1e1100ee53315315 (patch)
tree4a8f95d685770228ad5e76342a663eabcf355805 /src/exchangedb/exchange_do_insert_kyc_attributes.sql
parentddedf03a816e5139b235a3ebdf5b600508c5ed5f (diff)
parent421129a32ed88fee49108c76e67c16b60f95116b (diff)
downloadexchange-b87d1112ea479537bda5e1ba1e1100ee53315315.tar.xz
Merge branch 'master' into age-withdraw-merge
Diffstat (limited to 'src/exchangedb/exchange_do_insert_kyc_attributes.sql')
-rw-r--r--src/exchangedb/exchange_do_insert_kyc_attributes.sql6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/exchangedb/exchange_do_insert_kyc_attributes.sql b/src/exchangedb/exchange_do_insert_kyc_attributes.sql
index 949181399..ae6a65759 100644
--- a/src/exchangedb/exchange_do_insert_kyc_attributes.sql
+++ b/src/exchangedb/exchange_do_insert_kyc_attributes.sql
@@ -75,8 +75,10 @@ THEN
UPDATE SET status=EXCLUDED.status | 1;
END IF;
--- Wake up everyone who might care...
-PERFORM pg_notify (in_kyc_completed_notify_s, NULL);
+EXECUTE FORMAT (
+ 'NOTIFY %s'
+ ,in_kyc_completed_notify_s);
+
INSERT INTO kyc_alerts
(h_payto