aboutsummaryrefslogtreecommitdiff
path: root/src/datacache
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-24 16:30:45 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-24 16:30:45 +0100
commit2fd320bc7263b1dadd8fbead1004e9ee8b822f45 (patch)
treed94235b28665834c8b82175fa30360cd0ec6acb0 /src/datacache
parentf69dbeee28ec0cacf4ed1ffc4601b59a9178c794 (diff)
downloadgnunet-2fd320bc7263b1dadd8fbead1004e9ee8b822f45.tar.gz
gnunet-2fd320bc7263b1dadd8fbead1004e9ee8b822f45.zip
modify GNUNET_PQ_connect_with_cfg to enable flexible loading of .sql files
Diffstat (limited to 'src/datacache')
-rw-r--r--src/datacache/plugin_datacache_postgres.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c
index 09049fde2..c21be9219 100644
--- a/src/datacache/plugin_datacache_postgres.c
+++ b/src/datacache/plugin_datacache_postgres.c
@@ -123,6 +123,7 @@ init_connection (struct Plugin *plugin)
123 123
124 plugin->dbh = GNUNET_PQ_connect_with_cfg (plugin->env->cfg, 124 plugin->dbh = GNUNET_PQ_connect_with_cfg (plugin->env->cfg,
125 "datacache-postgres", 125 "datacache-postgres",
126 NULL,
126 es, 127 es,
127 ps); 128 ps);
128 if (NULL == plugin->dbh) 129 if (NULL == plugin->dbh)