The status () function shows a replication status summary. The same data can be obtained with the repl_stat and repl_status procedures.