aboutsummaryrefslogtreecommitdiff
path: root/src/mintdb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-11 16:11:07 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-11 16:11:07 +0200
commitfdcac7d6aff6d03aa8a9fb0af85aa91a8c6e7f1e (patch)
tree8f114c52798678a9b3c0c1fb0a1fc2ff18c47868 /src/mintdb
parenta560e79a5048ea7b9062e4a1f3b5dce7a03e81c4 (diff)
fix #3835
Diffstat (limited to 'src/mintdb')
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c2
-rw-r--r--src/mintdb/test-mint-db-postgres.conf2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
index bdf643ec..9445326f 100644
--- a/src/mintdb/plugin_mintdb_postgres.c
+++ b/src/mintdb/plugin_mintdb_postgres.c
@@ -2960,7 +2960,7 @@ libtaler_plugin_mintdb_postgres_init (void *cls)
/* FIXME: use configuration section with "postgres" in its name. #3835 */
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg,
- "mint",
+ "mintdb-postgres",
"db_conn_str",
&pg->connection_cfg_str))
{
diff --git a/src/mintdb/test-mint-db-postgres.conf b/src/mintdb/test-mint-db-postgres.conf
index 07f8a0e5..2bdb63eb 100644
--- a/src/mintdb/test-mint-db-postgres.conf
+++ b/src/mintdb/test-mint-db-postgres.conf
@@ -2,5 +2,7 @@
#The DB plugin to use
DB = postgres
+[mintdb-postgres]
+
#The connection string the plugin has to use for connecting to the database
DB_CONN_STR = postgres:///talercheck