Skip to main content

import_snapshot

Function import_snapshot 

Source
pub async fn import_snapshot(src: &PgClient, snapshot_name: &str) -> Result<()>
Expand description

Start a read-only REPEATABLE READ transaction on src that sees snapshot_name. Must be the first statements on the connection’s transaction.