From 42b4234a4e66d6289ecc08810584b865f8ff0847 Mon Sep 17 00:00:00 2001 From: Alexander Olekhnovich Date: Thu, 20 Oct 2022 10:57:55 +0200 Subject: [PATCH] Add password to connection string for PG --- aiven/client/connection_info/pg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiven/client/connection_info/pg.py b/aiven/client/connection_info/pg.py index c3be2128..c674a0da 100644 --- a/aiven/client/connection_info/pg.py +++ b/aiven/client/connection_info/pg.py @@ -64,7 +64,7 @@ def uri(self) -> str: ) def connection_string(self) -> str: - return f"host='{self.host}' port='{self.port}' user={self.username} dbname='{self.dbname}'" + return f"host='{self.host}' port='{self.port}' user={self.username} dbname='{self.dbname}' password='{self.password}'" def psql(self) -> Sequence[str]: return ["psql", self.uri()]