gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -specify conflict condition


From: gnunet
Subject: [taler-exchange] branch master updated: -specify conflict condition
Date: Thu, 16 Nov 2023 16:52:41 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 9fc4c786 -specify conflict condition
9fc4c786 is described below

commit 9fc4c7869ea42d902352ca33ea6d48ffce6d9897
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Nov 16 16:52:38 2023 +0100

    -specify conflict condition
---
 src/exchangedb/pg_trigger_aml_process.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/exchangedb/pg_trigger_aml_process.c 
b/src/exchangedb/pg_trigger_aml_process.c
index a4873ae6..76eaa37c 100644
--- a/src/exchangedb/pg_trigger_aml_process.c
+++ b/src/exchangedb/pg_trigger_aml_process.c
@@ -46,9 +46,9 @@ TEH_PG_trigger_aml_process (
            "(h_payto"
            ",threshold"
            ",status)"
-           "VALUES"
-           "($1, $2, 1)" // 1: decision needed
-           " ON CONFLICT DO"
+           " VALUES"
+           " ($1, $2, 1)" // 1: decision needed
+           " ON CONFLICT (h_payto) DO"
            " UPDATE SET"
            "   threshold=$2"
            "  ,status=status | 1;"); // do not clear 'frozen' status

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]