Search Results for

    Show / Hide Table of Contents

    Class PhysicalReplicationSlot

    Wraps a replication slot that uses physical replication.

    Inheritance
    object
    ReplicationSlot
    PhysicalReplicationSlot
    Inherited Members
    ReplicationSlot.Name
    Namespace: Npgsql.Replication
    Assembly: Npgsql.dll
    Syntax
    public class PhysicalReplicationSlot : ReplicationSlot

    Constructors

    | Improve this Doc View Source

    PhysicalReplicationSlot(string, NpgsqlLogSequenceNumber?, uint?)

    Creates a new PhysicalReplicationSlot instance.

    Declaration
    public PhysicalReplicationSlot(string slotName, NpgsqlLogSequenceNumber? restartLsn = null, uint? restartTimeline = null)
    Parameters
    Type Name Description
    string slotName

    The name of the existing replication slot

    NpgsqlLogSequenceNumber? restartLsn

    The replication slot's restart_lsn

    uint? restartTimeline

    The timeline ID associated to restart_lsn, following the current timeline history.

    Remarks

    Create a PhysicalReplicationSlot instance with this constructor to wrap an existing PostgreSQL replication slot that has been initialized for physical replication.

    Properties

    | Improve this Doc View Source

    RestartLsn

    The replication slot's restart_lsn.

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

    RestartTimeline

    The timeline ID associated to restart_lsn, following the current timeline history.

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