diff options
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 25692445b..28d8e5741 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -1743,6 +1743,10 @@ postgres_start (void *cls, GNUNET_PQ_EXECUTE_STATEMENT_END }; + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Starting transaction named: %s\n", + name); + postgres_preflight (cls, session); @@ -1840,13 +1844,13 @@ postgres_preflight (void *cls, es)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "BUG: Preflight check committed transaction `%s'!\n", + "BUG: Preflight check rolled back transaction `%s'!\n", session->transaction_name); } else { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "BUG: Preflight check failed to commit transaction `%s'!\n", + "BUG: Preflight check failed to rollback transaction `%s'!\n", session->transaction_name); } session->transaction_name = NULL; |