Function create_postgres_pool_with

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

Creates a pool for the Postgres backend.

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