/// Create a new memory instance for all-in-one mode if a catalog DSN is not specified, setting
/// the default for arguments that are irrelevant
Create a new memory instance for all-in-one mode if a catalog DSN is not specified, setting
the default for arguments that are irrelevant
Create a new memory instance for all - in - one mode if a catalog DSN is not specified setting the default for arguments that are irrelevant
pub fn new_memory() -> Self {
        info!("Catalog: In-memory");
        Self {
            catalog_type_: CatalogType::Memory,
            dsn: None,
            max_catalog_connections: PostgresConnectionOptions::DEFAULT_MAX_CONNS,
            postgres_schema_name: PostgresConnectionOptions::DEFAULT_SCHEMA_NAME.to_string(),
            connect_timeout: PostgresConnectionOptions::DEFAULT_CONNECT_TIMETOUT,
            idle_timeout: PostgresConnectionOptions::DEFAULT_IDLE_TIMETOUT,
            hotswap_poll_interval: PostgresConnectionOptions::DEFAULT_HOTSWAP_POLL_INTERVAL,
        }
    }
pub fn new_memory ( ) -> Self { info ! ( " " ) ; Self { catalog_type_ : CatalogType :: Memory , dsn : None , max_catalog_connections : PostgresConnectionOptions :: DEFAULT_MAX_CONNS , postgres_schema_name : PostgresConnectionOptions :: DEFAULT_SCHEMA_NAME . to_string ( ) , connect_timeout : PostgresConnectionOptions :: DEFAULT_CONNECT_TIMETOUT , idle_timeout : PostgresConnectionOptions :: DEFAULT_IDLE_TIMETOUT , hotswap_poll_interval : PostgresConnectionOptions :: DEFAULT_HOTSWAP_POLL_INTERVAL , } }
Create a new memory instance for all-in-one mode if a catalog DSN is not specified, setting
the default for arguments that are irrelevant
Create a new memory instance for all - in - one mode if a catalog DSN is not specified setting the default for arguments that are irrelevant