Support port number in postgres connection (#20662) (#20704)

* Support port number in postgres connection

* Addressed a few comments from Trent

(cherry picked from commit ad0a88f1f2)

Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2021-10-23 18:35:30 +00:00
committed by GitHub
parent 47e80be023
commit 5c3f15e9c5
2 changed files with 6 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ pub struct AccountsDbPluginPostgresConfig {
pub host: String,
pub user: String,
pub threads: Option<usize>,
pub port: Option<u16>,
}
#[derive(Error, Debug)]