postgresql_16:6.12.5 System Catalogs Related to Logical Decoding
PostgreSQL 16 > Server Programming > Logical Decoding > System Catalogs Related to Logical Decoding
The pg_replication_slots (see postgresql_16:8.3.19) view and the pg_stat_replication (see postgresql_16:4.13.2.4) view provide information about the current state of replication slots and streaming replication connections respectively. These views apply to both physical and logical replication. The pg_stat_replication_slots (see postgresql_16:4.13.2.5) view provides statistics information about the logical replication slots.