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
slotNamestringThe name of the replication slot.
consistentPointNpgsqlLogSequenceNumberThe WAL location at which the slot became consistent.
ReplicationSlotOptions(string, string?)
Creates a new ReplicationSlotOptions instance.
public ReplicationSlotOptions(string slotName, string? consistentPoint = null)
Parameters
slotNamestringThe name of the replication slot.
consistentPointstringThe 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; }