# Class PgOutputReplicationSlot

Namespace
  Npgsql.Replication.PgOutput

Assembly
  Npgsql.dll

Acts as a proxy for a logical replication slot initialized for for the logical streaming replication protocol (pgoutput logical decoding plugin).

    public class PgOutputReplicationSlot : LogicalReplicationSlot

Inheritance
  object
  ReplicationSlot
  LogicalReplicationSlot
  PgOutputReplicationSlot

Inherited Members
  LogicalReplicationSlot.SnapshotName
  LogicalReplicationSlot.OutputPlugin
  LogicalReplicationSlot.ConsistentPoint
  ReplicationSlot.Name
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## Constructors

### PgOutputReplicationSlot(PgOutputReplicationSlot)

Creates a new PgOutputReplicationSlot instance.

    protected PgOutputReplicationSlot(PgOutputReplicationSlot slot)

#### Parameters

`slot` PgOutputReplicationSlot

  The PgOutputReplicationSlot from which the new instance should be initialized

#### Remarks

This constructor is intended to be consumed by plugins sitting on top of PgOutputReplicationSlot

### PgOutputReplicationSlot(ReplicationSlotOptions)

Creates a new PgOutputReplicationSlot instance.

    public PgOutputReplicationSlot(ReplicationSlotOptions options)

#### Parameters

`options` ReplicationSlotOptions

  The ReplicationSlotOptions representing the existing replication slot

#### Remarks

Create a PgOutputReplicationSlot instance with this constructor to wrap an existing PostgreSQL replication slot that has been initialized for the pgoutput logical decoding plugin.

### PgOutputReplicationSlot(string)

Creates a new PgOutputReplicationSlot instance.

    public PgOutputReplicationSlot(string slotName)

#### Parameters

`slotName` string

  The name of the existing replication slot

#### Remarks

Create a PgOutputReplicationSlot instance with this constructor to wrap an existing PostgreSQL replication slot that has been initialized for the pgoutput logical decoding plugin.