aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-31 10:13:58 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-31 10:13:58 +0200
commit7193261e52b31da6306b24e206a0cd314cf18caf (patch)
treea3b235571000c7fe395db9a29783569268a7b5a1 /src/exchangedb
parent361f534dbb590b112a428dc90158db6ba18000ca (diff)
-log all BEGIN statements
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 71338e5f4..c2f9cbfb4 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -3860,10 +3860,9 @@ postgres_start (void *cls,
if (GNUNET_SYSERR ==
postgres_preflight (pg))
return GNUNET_SYSERR;
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Starting transaction named %s on %p\n",
- name,
- pg->conn);
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Starting transaction `%s'\n",
+ name);
if (GNUNET_OK !=
GNUNET_PQ_exec_statements (pg->conn,
es))
@@ -3898,10 +3897,9 @@ postgres_start_read_committed (void *cls,
if (GNUNET_SYSERR ==
postgres_preflight (pg))
return GNUNET_SYSERR;
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Starting transaction named %s on %p\n",
- name,
- pg->conn);
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Starting READ COMMITTED transaction `%s`\n",
+ name);
if (GNUNET_OK !=
GNUNET_PQ_exec_statements (pg->conn,
es))
@@ -9677,6 +9675,9 @@ postgres_start_deferred_wire_out (void *cls)
return GNUNET_SYSERR;
}
pg->transaction_name = "deferred wire out";
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Starting READ COMMITTED DEFERRED transaction `%s'\n",
+ pg->transaction_name);
return GNUNET_OK;
}