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.
If you see anything in the documentation that is not correct, does not match
your experience with the particular feature or requires further clarification,
to report a documentation issue.