[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: reduce logging, imp
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: reduce logging, improve compatibility with older postgres versions |
Date: |
Sun, 19 Mar 2017 10:55:16 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new d8b40ae reduce logging, improve compatibility with older postgres
versions
d8b40ae is described below
commit d8b40ae9b8f85efcee0344570ffd2e8d2da0f6be
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Mar 19 10:55:14 2017 +0100
reduce logging, improve compatibility with older postgres versions
---
src/exchangedb/plugin_exchangedb_postgres.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c
b/src/exchangedb/plugin_exchangedb_postgres.c
index 536a558..1c93bb7 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -46,17 +46,14 @@
* @param conn SQL connection that was used
*/
#define BREAK_DB_ERR(result,conn) do { \
- char *err = PQresultVerboseErrorMessage (result, PQERRORS_VERBOSE,
PQSHOW_CONTEXT_ALWAYS); \
GNUNET_break (0); \
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, \
- "Database failure: %s/%s/%s/%s/%s/%s", \
+ "Database failure: %s/%s/%s/%s/%s", \
PQresultErrorField (result, PG_DIAG_MESSAGE_PRIMARY), \
PQresultErrorField (result, PG_DIAG_MESSAGE_DETAIL), \
PQresultErrorMessage (result), \
PQresStatus (PQresultStatus (result)), \
- PQerrorMessage(conn), \
- err); \
- PQfreemem (err); \
+ PQerrorMessage(conn)); \
} while (0)
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: reduce logging, improve compatibility with older postgres versions,
gnunet <=