aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/exchange_do_insert_kyc_attributes.sql
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-06-23 11:41:52 +0200
committerChristian Grothoff <christian@grothoff.org>2023-06-23 11:41:52 +0200
commitd25dc8b0adb8fa606e8f97185984a623c52819cd (patch)
treed44d8c3f0c62544c653a7d299c029132913eb2c7 /src/exchangedb/exchange_do_insert_kyc_attributes.sql
parent720783b66a08a14624f30e8063daf64d25ce3e4c (diff)
downloadexchange-d25dc8b0adb8fa606e8f97185984a623c52819cd.tar.xz
fix #7870
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 f1959a66e..5bb199bb6 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