Class LogicalReplicationSlot
- Namespace
- Npgsql.Replication.Internal
- Assembly
- Npgsql.dll
Contains information about a newly-created logical replication slot.
public abstract class LogicalReplicationSlot : ReplicationSlot
- Inheritance
-
LogicalReplicationSlot
- Derived
- Inherited Members
Constructors
LogicalReplicationSlot(string, ReplicationSlotOptions)
Creates a new logical replication slot
protected LogicalReplicationSlot(string outputPlugin, ReplicationSlotOptions replicationSlotOptions)
Parameters
outputPlugin
stringThe logical decoding output plugin to the corresponding replication slot was created for.
replicationSlotOptions
ReplicationSlotOptionsA ReplicationSlotOptions struct with information to create the replication slot.
Properties
ConsistentPoint
The WAL location at which the slot became consistent. This is the earliest location from which streaming can start on this replication slot.
public NpgsqlLogSequenceNumber ConsistentPoint { get; }
Property Value
OutputPlugin
The name of the output plugin used by the newly-created logical replication slot.
public string OutputPlugin { get; }
Property Value
SnapshotName
The identifier of the snapshot exported by the command. The snapshot is valid until a new command is executed on this connection or the replication connection is closed.
public string? SnapshotName { get; }