Table of Contents

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 string

The name of the replication slot.

consistentPoint NpgsqlLogSequenceNumber

The 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 string

The name of the replication slot.

consistentPoint string

The 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

NpgsqlLogSequenceNumber

SlotName

The name of the replication slot.

public string SlotName { get; }

Property Value

string