commit b7c7244ff46f791d478cf58a25501c883b4b172c
parent 85334f76417573cb64627c6b54bd9afe5984cfb0
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 4 Sep 2025 09:18:50 +0200
-conflict is OK
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/exchangedb/pg_insert_auditor_denom_sig.c b/src/exchangedb/pg_insert_auditor_denom_sig.c
@@ -54,7 +54,8 @@ TEH_PG_insert_auditor_denom_sig (
") SELECT ax.auditor_uuid, denominations_serial, $3 "
" FROM denominations"
" CROSS JOIN ax"
- " WHERE denom_pub_hash=$2;");
+ " WHERE denom_pub_hash=$2"
+ " ON CONFLICT DO NOTHING;");
return GNUNET_PQ_eval_prepared_non_select (pg->conn,
"insert_auditor_denom_sig",
params);