Skip to main content

create_slot_with_snapshot

Function create_slot_with_snapshot 

Source
pub async fn create_slot_with_snapshot(
    conn: &mut ReplicationConnection,
    slot: &str,
) -> Result<CreatedSlot>
Expand description

CREATE_REPLICATION_SLOT ... LOGICAL pgoutput EXPORT_SNAPSHOT.

The exported snapshot stays valid only until the next command on conn.