diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-20 19:25:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-20 19:26:01 +0100 |
commit | bc150693de763387735b3d9cfebe3f761cb9cb73 (patch) | |
tree | dd1d8f717ecd79e1c7ccd3d2b03f1c85e80c8a68 /src/exchangedb | |
parent | e02c850acf157c682fa247f5d5c27d3155f6190b (diff) | |
download | exchange-bc150693de763387735b3d9cfebe3f761cb9cb73.tar.xz |
-work around missing constraint, if not present
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 3d52bcfbc..2ae01f0cb 100644 --- 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 }; |