Search Results for

    Show / Hide Table of Contents

    Class TestDecodingReplicationSlot

    Acts as a proxy for a logical replication slot initialized for for the test_decoding logical decoding plugin.

    Inheritance
    Object
    ReplicationSlot
    LogicalReplicationSlot
    TestDecodingReplicationSlot
    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.TestDecoding
    Assembly: Npgsql.dll
    Syntax
    public class TestDecodingReplicationSlot : LogicalReplicationSlot

    Constructors

    TestDecodingReplicationSlot(ReplicationSlotOptions)

    Creates a new TestDecodingReplicationSlot instance.

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

    The ReplicationSlotOptions representing the existing replication slot

    Remarks

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

    TestDecodingReplicationSlot(String)

    Creates a new TestDecodingReplicationSlot instance.

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

    The name of the existing replication slot

    Remarks

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

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