Skip to main content

attach

Function attach 

Source
pub fn attach(
    engine: Engine,
    config: SharedConfig,
) -> Result<Engine, EngineError>
Expand description

Turn an engine opened on a PgMode::Shared store into a shared-mode node: creates the shared tables and registers the node. Serve it with crate::server::serve_node, which starts the node’s threads; the node then resumes or takes over executions.