Struct ReplicationSlotOptions
Contains information about a replication slot.
Inherited Members
Namespace: Npgsql.Replication
Assembly: Npgsql.dll
Syntax
public readonly struct ReplicationSlotOptions
Constructors
ReplicationSlotOptions(String, NpgsqlLogSequenceNumber)
Creates a new ReplicationSlotOptions instance.
Declaration
public ReplicationSlotOptions(string slotName, NpgsqlLogSequenceNumber consistentPoint)
Parameters
Type | Name | Description |
---|---|---|
String | slotName | The name of the replication slot. |
NpgsqlLogSequenceNumber | consistentPoint | The WAL location at which the slot became consistent. |
ReplicationSlotOptions(String, String)
Creates a new ReplicationSlotOptions instance.
Declaration
public ReplicationSlotOptions(string slotName, string consistentPoint = null)
Parameters
Type | Name | Description |
---|---|---|
String | slotName | The name of the replication slot. |
String | consistentPoint | The WAL location at which the slot became consistent. |
Properties
ConsistentPoint
The WAL location at which the slot became consistent.
Declaration
public readonly NpgsqlLogSequenceNumber ConsistentPoint { get; }
Property Value
Type | Description |
---|---|
NpgsqlLogSequenceNumber |
SlotName
The name of the replication slot.
Declaration
public readonly string SlotName { get; }
Property Value
Type | Description |
---|---|
String |