diff options
Diffstat (limited to 'src/pq/pq_connect.c')
-rw-r--r-- | src/pq/pq_connect.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pq/pq_connect.c b/src/pq/pq_connect.c index 2f017474b..a7a57f98a 100644 --- a/src/pq/pq_connect.c +++ b/src/pq/pq_connect.c | |||
@@ -399,8 +399,10 @@ GNUNET_PQ_reconnect (struct GNUNET_PQ_Context *db) | |||
399 | NULL); | 399 | NULL); |
400 | if (PGRES_COMMAND_OK != PQresultStatus (res)) | 400 | if (PGRES_COMMAND_OK != PQresultStatus (res)) |
401 | { | 401 | { |
402 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 402 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
403 | "Failed to run SQL logic to setup database versioning logic (permission denied?)\n"); | 403 | "Failed to run SQL logic to setup database versioning logic: %s/%s\n", |
404 | PQresultErrorMessage (res), | ||
405 | PQerrorMessage (db->conn)); | ||
404 | PQclear (res); | 406 | PQclear (res); |
405 | PQfinish (db->conn); | 407 | PQfinish (db->conn); |
406 | db->conn = NULL; | 408 | db->conn = NULL; |