summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index dc8c8456..413a863a 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -221,8 +221,9 @@ postgres_start (void *cls,
check_connection (pg);
postgres_preflight (pg);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Starting merchant DB transaction\n");
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Starting merchant DB transaction `%s'\n",
+ name);
if (GNUNET_OK !=
GNUNET_PQ_exec_statements (pg->conn,
es))
@@ -256,8 +257,9 @@ postgres_start_read_committed (void *cls,
check_connection (pg);
postgres_preflight (pg);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Starting merchant DB transaction (READ COMMITTED)\n");
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Starting merchant DB transaction %s (READ COMMITTED)\n",
+ name);
if (GNUNET_OK !=
GNUNET_PQ_exec_statements (pg->conn,
es))
@@ -308,8 +310,9 @@ postgres_commit (void *cls)
GNUNET_PQ_query_param_end
};
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Committing merchant DB transaction\n");
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Committing merchant DB transaction %s\n",
+ pg->transaction_name);
pg->transaction_name = NULL;
return GNUNET_PQ_eval_prepared_non_select (pg->conn,
"end_transaction",