Search Results for

    Show / Hide Table of Contents

    Class PgOutputReplicationSlot

    Acts as a proxy for a logical replication slot initialized for for the logical streaming replication protocol (pgoutput logical decoding plugin).

    Inheritance
    Object
    ReplicationSlot
    LogicalReplicationSlot
    PgOutputReplicationSlot
    Inherited Members
    LogicalReplicationSlot.SnapshotName
    LogicalReplicationSlot.OutputPlugin
    LogicalReplicationSlot.ConsistentPoint
    ReplicationSlot.Name
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Npgsql.Replication.PgOutput
    Assembly: Npgsql.dll
    Syntax
    public class PgOutputReplicationSlot : LogicalReplicationSlot

    Constructors

    PgOutputReplicationSlot(PgOutputReplicationSlot)

    Creates a new PgOutputReplicationSlot instance.

    Declaration
    protected PgOutputReplicationSlot(PgOutputReplicationSlot slot)
    Parameters
    Type Name Description
    PgOutputReplicationSlot slot

    The PgOutputReplicationSlot from which the new instance should be initialized

    Remarks

    This constructor is intended to be consumed by plugins sitting on top of PgOutputReplicationSlot

    PgOutputReplicationSlot(ReplicationSlotOptions)

    Creates a new PgOutputReplicationSlot instance.

    Declaration
    public PgOutputReplicationSlot(ReplicationSlotOptions options)
    Parameters
    Type Name Description
    ReplicationSlotOptions options

    The ReplicationSlotOptions representing the existing replication slot

    Remarks

    Create a PgOutputReplicationSlot instance with this constructor to wrap an existing PostgreSQL replication slot that has been initialized for the pgoutput logical decoding plugin.

    PgOutputReplicationSlot(String)

    Creates a new PgOutputReplicationSlot instance.

    Declaration
    public PgOutputReplicationSlot(string slotName)
    Parameters
    Type Name Description
    String slotName

    The name of the existing replication slot

    Remarks

    Create a PgOutputReplicationSlot instance with this constructor to wrap an existing PostgreSQL replication slot that has been initialized for the pgoutput logical decoding plugin.

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