Search Results for

    Show / Hide Table of Contents

    Struct ReplicationSlotOptions

    Contains information about a replication slot.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: Npgsql.Replication
    Assembly: Npgsql.dll
    Syntax
    public readonly struct ReplicationSlotOptions

    Constructors

    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.

    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

    ConsistentPoint

    The WAL location at which the slot became consistent.

    Declaration
    public readonly NpgsqlLogSequenceNumber ConsistentPoint { get; }
    Property Value
    Type Description
    NpgsqlLogSequenceNumber

    SlotName

    The name of the replication slot.

    Declaration
    public readonly string SlotName { get; }
    Property Value
    Type Description
    String
    In This Article
    Back to top © Copyright 2022 The Npgsql Development Team