From 1defd30dfeb1867c2756b3fe6a437f695951d0c9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 1 Jun 2017 21:48:19 +0200 Subject: adding more good helpers to libgnunetpq --- src/datastore/plugin_datastore_postgres.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/datastore/plugin_datastore_postgres.c') diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index b6aeb0be60..1c9ded4f4e 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c @@ -72,7 +72,8 @@ init_connection (struct Plugin *plugin) { PGresult *ret; - plugin->dbh = GNUNET_POSTGRES_connect (plugin->env->cfg, "datastore-postgres"); + plugin->dbh = GNUNET_PQ_connect_with_cfg (plugin->env->cfg, + "datastore-postgres"); if (NULL == plugin->dbh) return GNUNET_SYSERR; -- cgit v1.2.3-70-g09d2