Search Results for

    Show / Hide Table of Contents

    Struct ReplicationSlotOptions

    Contains information about a replication slot.

    Namespace: Npgsql.Replication
    Assembly: Npgsql.dll
    Syntax
    public readonly struct ReplicationSlotOptions

    Constructors

    | Improve this Doc View Source

    ReplicationSlotOptions(string, NpgsqlLogSequenceNumber)

    Creates a new ReplicationSlotOptions instance.

    Declaration
    public ReplicationSlotOptions(string slotName, NpgsqlLogSequenceNumber consistentPoint)
    Parameters
    Type Name Description
    string slotName

    The name of the replication slot.

    NpgsqlLogSequenceNumber consistentPoint

    The WAL location at which the slot became consistent.

    | Improve this Doc View Source

    ReplicationSlotOptions(string, string?)

    Creates a new ReplicationSlotOptions instance.

    Declaration
    public ReplicationSlotOptions(string slotName, string? consistentPoint = null)
    Parameters
    Type Name Description
    string slotName

    The name of the replication slot.

    string? consistentPoint

    The WAL location at which the slot became consistent.

    Properties

    | Improve this Doc View Source

    ConsistentPoint

    The WAL location at which the slot became consistent.

    Declaration
    public NpgsqlLogSequenceNumber ConsistentPoint { get; }
    Property Value
    Type Description
    NpgsqlLogSequenceNumber
    | Improve this Doc View Source

    SlotName

    The name of the replication slot.

    Declaration
    public string SlotName { get; }
    Property Value
    Type Description
    string
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team