Re: Add "io worker" as backend_type to the pg_stat_activity documentation

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Add "io worker" as backend_type to the pg_stat_activity documentation
Date: 2026-07-22 05:36:14
Message-ID: 8a9d8030ebf1b3b39cc3bcf277946dc54dec4e50.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Wed, 2026-07-22 at 07:18 +0900, Michael Paquier wrote:
> On Tue, Jul 21, 2026 at 09:04:15PM +0200, Laurenz Albe wrote:
> > You are right. Here is patch v3 with a completed list; I hope I didn't
> > forget anything.
>
> I am counting 23 entries. I don't see anything forgotten on top of my
> mind, and we are indeed missing a lot of new entries.

Great.

> > + <para>
> > + <literal>autovacuum worker</literal>: A background process running
> > + <command>VACUUM</command> or <command>ANALYZE</command> on a single
> > + table.
> > + </para>
>
> Also active when autovacuum = on?

Well, anti-wraparound autovacuum workers can also run if autovacuum = off.
Also, autovacuum workers only indirectly depend on the GUC.
I figured that if I say that the autovacuum launcher depends on the GUC and
launches autovacuum workers, the indirect dependency should be obvious.

> > + <para>
> > + <literal>walreceiver</literal>: The background process that receives
> > + WAL records from a WAL sender, active in streaming replication
> > + standby mode.
> > + </para>
>
> We can only have one of these.

That's why I said "*the* background process".
Or did I miss your point?

> > + </listitem>
> > + <listitem>
> > + <para>
> > + <literal>walsender</literal>: A background process that sends WAL
> > + records to receivers (during streaming replication) or decodes WAL
> > + and sends the decoded information (during logical replication).
> > + </para>
> > + </listitem>
>
> No mention of the max_wal_senders dependency? Perhaps not worth
> mentioning, still..

I don't want to mention all GUCs that have an influence on the processes,
and I feel that my descriptions are already pretty long.

If I mention that dependency, I should also mention that max_connections
limits the number of backends, and so on...

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Michael Paquier 2026-07-22 08:21:05 Re: Add "io worker" as backend_type to the pg_stat_activity documentation
Previous Message Peter Smith 2026-07-22 04:34:54 Re: Improve CREATE/ALTER PUBLICATION syntax for EXCEPT