From be2d1792e08dcb941e3cc6d82dd78a2d614d3b8f Mon Sep 17 00:00:00 2001 From: SHIMIZU Toshihiro Date: Tue, 16 Mar 2021 15:01:26 +0900 Subject: [PATCH] connect to 'postgres' instead of a database whose name is admin's name Signed-off-by: SHIMIZU Toshihiro --- experimental/plugins/postgres_storage/src/postgres_storage.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/experimental/plugins/postgres_storage/src/postgres_storage.rs b/experimental/plugins/postgres_storage/src/postgres_storage.rs index 8b693d5b97..dee768e3f6 100644 --- a/experimental/plugins/postgres_storage/src/postgres_storage.rs +++ b/experimental/plugins/postgres_storage/src/postgres_storage.rs @@ -1045,7 +1045,8 @@ impl PostgresStorageType { } url_base.push_str("@"); url_base.push_str(&config.url[..]); - url_base.push_str("/postgres"); + url_base.push_str("/"); + url_base.push_str(_POSTGRES_DB); url_base }