Class LogicalReplicationSlot
Contains information about a newly-created logical replication slot.
Inheritance
LogicalReplicationSlot
Inherited Members
Namespace: Npgsql.Replication.Internal
Assembly: Npgsql.dll
Syntax
public abstract class LogicalReplicationSlot : ReplicationSlot
Constructors
LogicalReplicationSlot(String, ReplicationSlotOptions)
Creates a new logical replication slot
Declaration
protected LogicalReplicationSlot(string outputPlugin, ReplicationSlotOptions replicationSlotOptions)
Parameters
Type | Name | Description |
---|---|---|
String | outputPlugin | The logical decoding output plugin to the corresponding replication slot was created for. |
ReplicationSlotOptions | replicationSlotOptions | A 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.
Declaration
public NpgsqlLogSequenceNumber ConsistentPoint { get; }
Property Value
Type | Description |
---|---|
NpgsqlLogSequenceNumber |
OutputPlugin
The name of the output plugin used by the newly-created logical replication slot.
Declaration
public string OutputPlugin { get; }
Property Value
Type | Description |
---|---|
String |
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.
Declaration
public string SnapshotName { get; }
Property Value
Type | Description |
---|---|
String |