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