This commit is contained in:
Christian Grothoff 2021-07-22 15:47:24 +02:00
parent 95f0fdf369
commit 23e0847188
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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;
}
{