Function create_postgres_pool

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

Creates a pool for the Postgres backend with optional TLS.

It only use first store addr to create a pool.