From 1a1e733b623108ebba8a6e6f55235782edb8f4bb Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Thu, 22 Jan 2026 17:03:21 +0900 Subject: [PATCH] doc: List all the possible values of pg_stat_wal_receiver.status The possible values of pg_stat_wal_receiver.status have never been documented. Note that the status "stopped" will never show up in this view, hence there is no need to document it. Issue noticed while discussing a patch that aims to add a new status to WAL receiver. Author: Xuneng Zhou Discussion: https://postgr.es/m/CABPTF7X_Jgmyk1FBVNf3tyAOKqU55LLpLMzWkGtEAb_jQWVN=g@mail.gmail.com --- doc/src/sgml/monitoring.sgml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 817fd9f4ca7..88450facebd 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1737,7 +1737,38 @@ description | Waiting for a newly initialized WAL file to reach durable storage status text - Activity status of the WAL receiver process + Activity status of the WAL receiver process. Possible values are: + + + + restarting: WAL receiver has been asked to + restart streaming. + + + + + starting: WAL receiver process has been launched + but is not yet initialized. + + + + + stopping: WAL receiver has been requested to + stop. + + + + + streaming: WAL receiver is streaming WAL data. + + + + + waiting: WAL receiver has stopped streaming and + is waiting for new instructions from the startup process. + + +