Re: doc fix for pg_stat_activity.backend_type

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: John Naylor <jcnaylor@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-11-13T00:08:20Z
Lists: pgsql-hackers
On Mon, Nov 12, 2018 at 09:42:45PM +0700, John Naylor wrote:
> Looks like it. A quick search revealed "parallel worker" and "logical
> replication worker". src/test/modules/ also show "test_shm_mq" and
> "worker_spi", but it seems those don't need to be publicly documented.
> If that sounds right I'll update the patch to include the first two.

Just wondering: do we actually need to include in the docs this list at
all?  This is a recipe to forget its update each time a new backend type
is added.
--
Michael

Commits

  1. Fix the omission in docs.

  2. Add background worker type

  3. Show more processes in pg_stat_activity.