Function create_postgres_pool_with

Source
pub async fn create_postgres_pool_with(
    store_addrs: &[String],
    cfg: Config,
    tls_config: Option<TlsOption>,
) -> Result<Pool>
Expand description

Creates a pool for the Postgres backend with config and optional TLS.

It only use first store addr to create a pool, and use the given config to create a pool.