summaryrefslogtreecommitdiff
path: root/src/pq/pq.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-10-24 07:44:26 +0000
committerChristian Grothoff <christian@grothoff.org>2016-10-24 07:44:26 +0000
commitb81008870d47cfb342bc2a689718fd03eee10cd4 (patch)
tree04fa93931f8bed6c0a3d4089e26f396d4c6df846 /src/pq/pq.c
parent10f9bc91ab9d758d0d60dd672206027cd136342a (diff)
put logging into place to diagnose #4737
Diffstat (limited to 'src/pq/pq.c')
-rw-r--r--src/pq/pq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pq/pq.c b/src/pq/pq.c
index 46463a190..f4bab4e00 100644
--- a/src/pq/pq.c
+++ b/src/pq/pq.c
@@ -85,6 +85,9 @@ GNUNET_PQ_exec_prepared (PGconn *db_conn,
off += x->num_params;
}
GNUNET_assert (off == len);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Executing prepared SQL statement `%s'\n",
+ name);
res = PQexecPrepared (db_conn,
name,
len,