commit 23e084718897f948d9256b898fc3a2a6ff582341 parent 95f0fdf36988327c8377bb891c5bf726defc387e Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 22 Jul 2021 15:47:24 +0200 -fix #6933 Diffstat:
| M | src/exchangedb/plugin_exchangedb_postgres.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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; } {