51.5. System Catalogs Related to Logical Decoding
The pg_replication_slots
view and the pg_stat_replication
view provide information about the current state of replication slots and streaming replication connections respectively. These views apply to both physical and logical replication.