aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/plugin_datacache_postgres.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datacache/plugin_datacache_postgres.c')
-rw-r--r--src/datacache/plugin_datacache_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c
index 13c2c26a27..8f5cdbde1d 100644
--- a/src/datacache/plugin_datacache_postgres.c
+++ b/src/datacache/plugin_datacache_postgres.c
@@ -68,8 +68,8 @@ init_connection (struct Plugin *plugin)
{
PGresult *ret;
- plugin->dbh = GNUNET_POSTGRES_connect (plugin->env->cfg,
- "datacache-postgres");
+ plugin->dbh = GNUNET_PQ_connect_with_cfg (plugin->env->cfg,
+ "datacache-postgres");
if (NULL == plugin->dbh)
return GNUNET_SYSERR;
ret =