[HACKERS] Incorrect documentation about pg_stat_activity - Mailing list pgsql-hackers

From Yugo Nagata
Subject [HACKERS] Incorrect documentation about pg_stat_activity
Date
Msg-id 20170621213536.39512604.nagata@sraoss.co.jp
Whole thread Raw
Responses Re: [HACKERS] Incorrect documentation about pg_stat_activity  (Kuntal Ghosh <kuntalghosh.2007@gmail.com>)
List pgsql-hackers
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>



pgsql-hackers by date:

Previous
From: Jeevan Ladhe
Date:
Subject: Re: [HACKERS] Adding support for Default partition in partitioning
Next
From: Jeevan Ladhe
Date:
Subject: Re: [HACKERS] Adding support for Default partition in partitioning