Function mz_storage::source::postgres::snapshot::export_snapshot

source ยท
async fn export_snapshot(
    client: &Client,
    slot: &str,
    temporary: bool,
) -> Result<(String, MzOffset), TransientError>
Expand description

Starts a read-only transaction on the SQL session of client at a consistent LSN point by creating a replication slot. Returns a snapshot identifier that can be imported in other SQL session and the LSN of the consistent point.