Hi,
In the documentation[1], there is the following description:
"pg_stat_activity does not show an entry for the Startup process"
However, the current pg_stat_activity show startup process's entry.
postgres=# select pid, backend_type from pg_stat_activity ; pid | backend_type
-------+-------------------27314 | client backend27103 | startup27113 | background writer27112 | checkpointer27115 |
walreceiver
(5 rows)
Attached is a patch for the documentation fix.
Regards,
[1]
26.5.3. Administrator's Overview
https://www.postgresql.org/docs/10/static/hot-standby.html#hot-standby-admin
--
Yugo Nagata <nagata@sraoss.co.jp>