I happened to notice that "io worker" was missing in the list of
backend types in the pg_stat_activity documentation.

Here is a patch to fix that.

I wondered vaguely if the list should be sorted alphabetically,
but didn't do it a) to keep the patch easy to read and
b) because the list is not long enough for readers to get lost.

Yours,
Laurenz Albe
From 44d1dd4353ef38e4fb5972973255f88336b1cccd Mon Sep 17 00:00:00 2001
From: Laurenz Albe <[email protected]>
Date: Tue, 21 Jul 2026 09:53:11 +0200
Subject: [PATCH v1] Document "io worker" as possible backend_type

The documentation of pg_stat_activity lists all possible values for
the backend type, but when I/O workers were added, the list was not
amended.

Author: Laurenz Albe <[email protected]>
---
 doc/src/sgml/monitoring.sgml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index d1a20d001e9..632ae7e345d 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -1059,7 +1059,7 @@ postgres   27093  0.0  0.0  30096  2752 ?        Ss   11:34   0:00 postgres: ser
       <para>
        Type of current backend. Possible types are
        <literal>autovacuum launcher</literal>, <literal>autovacuum worker</literal>,
-       <literal>logical replication launcher</literal>,
+       <literal>io worker</literal>, <literal>logical replication launcher</literal>,
        <literal>logical replication worker</literal>,
        <literal>parallel worker</literal>, <literal>background writer</literal>,
        <literal>client backend</literal>, <literal>checkpointer</literal>,
-- 
2.55.0

Reply via email to