Search Results for

    Show / Hide Table of Contents

    Enum LogicalSlotSnapshotInitMode

    Decides what to do with the snapshot created during logical slot initialization.

    Namespace: Npgsql.Replication
    Assembly: Npgsql.dll
    Syntax
    public enum LogicalSlotSnapshotInitMode

    Fields

    Name Description
    Export

    Export the snapshot for use in other sessions. This is the default. This option can't be used inside a transaction.

    NoExport

    Just use the snapshot for logical decoding as normal but don't do anything else with it.

    Use

    Use the snapshot for the current transaction executing the command. This option must be used in a transaction, and CREATE_REPLICATION_SLOT must be the first command run in that transaction.

    In This Article
    Back to top © Copyright 2022 The Npgsql Development Team