Skip to main content

ensure_replication_slot

Function ensure_replication_slot 

Source
async fn ensure_replication_slot(
    client: &Client,
    slot: &str,
    failover: bool,
    timeout: Duration,
) -> Result<(), TransientError>
Expand description

Creates the replication slot slot unless it exists, with FAILOVER if failover is set.