commit bc150693de763387735b3d9cfebe3f761cb9cb73
parent e02c850acf157c682fa247f5d5c27d3155f6190b
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 20 Feb 2022 19:25:56 +0100
-work around missing constraint, if not present
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -7942,7 +7942,7 @@ postgres_start_deferred_wire_out (void *cls)
struct PostgresClosure *pg = cls;
struct GNUNET_PQ_ExecuteStatement es[] = {
GNUNET_PQ_make_execute ("START TRANSACTION ISOLATION LEVEL READ COMMITTED"),
- GNUNET_PQ_make_execute ("SET CONSTRAINTS wire_out_ref DEFERRED"),
+ GNUNET_PQ_make_try_execute ("SET CONSTRAINTS wire_out_ref DEFERRED"),
GNUNET_PQ_EXECUTE_STATEMENT_END
};