diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-06-11 16:11:07 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-06-11 16:11:07 +0200 |
commit | fdcac7d6aff6d03aa8a9fb0af85aa91a8c6e7f1e (patch) | |
tree | 8f114c52798678a9b3c0c1fb0a1fc2ff18c47868 /src | |
parent | a560e79a5048ea7b9062e4a1f3b5dce7a03e81c4 (diff) | |
download | exchange-fdcac7d6aff6d03aa8a9fb0af85aa91a8c6e7f1e.tar.gz exchange-fdcac7d6aff6d03aa8a9fb0af85aa91a8c6e7f1e.tar.bz2 exchange-fdcac7d6aff6d03aa8a9fb0af85aa91a8c6e7f1e.zip |
fix #3835
Diffstat (limited to 'src')
-rw-r--r-- | src/mint/test_mint_nayapaisa/config/mint-common.conf | 4 | ||||
-rw-r--r-- | src/mint/test_mint_nyadirahim/config/mint-common.conf | 5 | ||||
-rw-r--r-- | src/mintdb/plugin_mintdb_postgres.c | 2 | ||||
-rw-r--r-- | src/mintdb/test-mint-db-postgres.conf | 2 |
4 files changed, 10 insertions, 3 deletions
diff --git a/src/mint/test_mint_nayapaisa/config/mint-common.conf b/src/mint/test_mint_nayapaisa/config/mint-common.conf index 6026628b0..f2af32a1b 100644 --- a/src/mint/test_mint_nayapaisa/config/mint-common.conf +++ b/src/mint/test_mint_nayapaisa/config/mint-common.conf @@ -1,6 +1,8 @@ [mint] -db = postgres:///taler port = 4241 TMH_master_public_key = 6ZE0HEY2M0FWP61M0470HYBF4K6RRD5DP54372PD2TN9N9VX2VJG refresh_security_parameter = 3 +DB = postgres +[mintdb-postgres] +DB_CONN_STR = postgres:///taler diff --git a/src/mint/test_mint_nyadirahim/config/mint-common.conf b/src/mint/test_mint_nyadirahim/config/mint-common.conf index beb904538..dde46def0 100644 --- a/src/mint/test_mint_nyadirahim/config/mint-common.conf +++ b/src/mint/test_mint_nyadirahim/config/mint-common.conf @@ -1,6 +1,9 @@ [mint] -db = postgres:///taler port = 4241 TMH_master_public_key = 7995WKK71KPKTBBMA5BHNBSZFGNRZPYNXDJMQ8EK86V9598H03TG refresh_security_parameter = 3 +DB = postgres + +[mintdb-postgres] +DB_CONN_STR = postgres:///taler diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c index bdf643ec0..9445326f0 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 07f8a0e58..2bdb63eb0 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 |