Updated on 2025-07-22 GMT+08:00

REPLICATION_SLOTS

REPLICATION_SLOTS displays replication slot information.

Table 1 REPLICATION_SLOTS columns

Name

Type

Description

slot_name

text

Replication slot name.

plugin

text

Name of the output plug-in corresponding to the logical replication slot.

slot_type

text

Replication slot type.
  • physical: physical replication slot.
  • logical: logical replication slot.

datoid

oid

OID of the database where the replication slot resides.

database

name

Name of the database where the replication slot resides.

active

boolean

Determines whether the replication slot is activated.
  • t (true): yes
  • f (false): no

xmin

xid

The earliest transaction that the database must reserve for the replication slot. VACUUM cannot remove a tuple that is deleted by its subsequent transactions.

catalog_xmin

xid

The earliest transaction that affects the system catalog and must be reserved by the database for the replication slot. VACUUM cannot remove a system catalog tuple that is deleted by its subsequent transactions.

restart_lsn

text

Physical location of the earliest Xlog required by the replication slot.

dummy_standby

boolean

Not supported in the current version.