Incorrect documentation about pg_stat_activity

From: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Incorrect documentation about pg_stat_activity
Date: 2017-06-21 12:35:36
Message-ID: 20170621213536.39512604.nagata@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 backend
27103 | startup
27113 | background writer
27112 | checkpointer
27115 | 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(at)sraoss(dot)co(dot)jp>

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeevan Ladhe 2017-06-21 12:37:43 Re: Adding support for Default partition in partitioning
Previous Message Jeevan Ladhe 2017-06-21 12:31:01 Re: Adding support for Default partition in partitioning