Support port number in postgres connection (#20662)

* Support port number in postgres connection

* Addressed a few comments from Trent
This commit is contained in:
Lijun Wang
2021-10-14 11:55:10 -07:00
committed by GitHub
parent e9a427b9c8
commit ad0a88f1f2
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)]