# Namespace Npgsql.Replication

### Classes

LogicalReplicationConnection

  Represents a logical replication connection to a PostgreSQL server.

PgOutputConnectionExtensions

  Extension methods to use LogicalReplicationConnection with the pg_output logical decoding plugin.

PhysicalReplicationConnection

  Represents a physical replication connection to a PostgreSQL server.

PhysicalReplicationSlot

  Wraps a replication slot that uses physical replication.

ReplicationConnection

  Defines the core behavior of replication connections and provides the base class for LogicalReplicationConnection and PhysicalReplicationConnection.

ReplicationMessage

  The common base class for all streaming replication messages

ReplicationSlot

  Contains information about a newly-created replication slot.

ReplicationSystemIdentification

  Contains server identification information returned from IdentifySystem(CancellationToken).

TestDecodingConnectionExtensions

  Extension methods to use LogicalReplicationConnection with the test_decoding logical decoding plugin. See https://www.postgresql.org/docs/current/test-decoding.html.

XLogDataMessage

  A message representing a section of the WAL data stream.

### Structs

ReplicationSlotOptions

  Contains information about a replication slot.

TimelineHistoryFile

  Represents a PostgreSQL timeline history file

### Enums

LogicalSlotSnapshotInitMode

  Decides what to do with the snapshot created during logical slot initialization.