diff options
Diffstat (limited to 'src/datastore/plugin_datastore_postgres.c')
-rw-r--r-- | src/datastore/plugin_datastore_postgres.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |