diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-07-22 15:47:24 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-07-22 15:47:24 +0200 |
commit | 23e084718897f948d9256b898fc3a2a6ff582341 (patch) | |
tree | 7a06f35ad3138c5ddfd90e71c35a5b60c48021a1 | |
parent | 95f0fdf36988327c8377bb891c5bf726defc387e (diff) |
-fix #6933
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 7a91a348d..d0330d784 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -243,7 +243,8 @@ postgres_get_session (void *cls) session = pthread_getspecific (pc->db_conn_threadlocal); if (NULL != session) { - GNUNET_PQ_reconnect_if_down (session->conn); + if (NULL == session->transaction_name) + GNUNET_PQ_reconnect_if_down (session->conn); return session; } { |