diff options
Diffstat (limited to 'src')
-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; } { |