Struct ReplicationSlotOptions
Contains information about a replication slot.
Namespace: Npgsql.Replication
Assembly: Npgsql.dll
Syntax
public readonly struct ReplicationSlotOptions
Constructors
| Improve this Doc View SourceReplicationSlotOptions(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
| Improve this Doc View SourceConsistentPoint
The WAL location at which the slot became consistent.
Declaration
public NpgsqlLogSequenceNumber ConsistentPoint { get; }
Property Value
Type | Description |
---|---|
NpgsqlLogSequenceNumber |
SlotName
The name of the replication slot.
Declaration
public string SlotName { get; }
Property Value
Type | Description |
---|---|
string |