commit 59adf5f9ef484f3cdc5105559a72af691cefe4b0
parent 3ddbe6d4f37eecf02a242c543f25b6b0de2703bf
Author: Antoine A <>
Date: Wed, 12 Feb 2025 17:27:01 +0100
common: fix postgres URI
Diffstat:
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/common/taler-test-utils/src/lib.rs b/common/taler-test-utils/src/lib.rs
@@ -35,7 +35,7 @@ pub async fn db_test_setup() -> PgPool {
static MASTER_POOL: OnceLock<PgPool> = OnceLock::new();
-const DB: &str = "postgres:/taler_rust_check";
+const DB: &str = "postgres:///taler_rust_check";
static NB_DB: AtomicUsize = AtomicUsize::new(0);
async fn db_pool() -> PgPool {
diff --git a/debian/etc/taler-magnet-bank/secrets/magnet-bank-db.secret.conf b/debian/etc/taler-magnet-bank/secrets/magnet-bank-db.secret.conf
@@ -2,7 +2,7 @@
# Typically, there should only be a single line here, of the form:
-CONFIG=postgres:/taler-magnet-bank
+CONFIG=postgres:///taler-magnet-bank
# The details of the URI depend on where the database lives and how
# access control was configured.
diff --git a/taler-magnet-bank/magnet-bank.conf b/taler-magnet-bank/magnet-bank.conf
@@ -74,4 +74,4 @@ TOKEN =
[magnet-bankdb-postgres]
-CONFIG = postgres:/taler-magnet-bank
-\ No newline at end of file
+CONFIG = postgres:///taler-magnet-bank
+\ No newline at end of file