[16Beta1][doc] Add BackendType for standalone backends

Started by Shinoda, Noriyoshi (PN Japan FSIP)over 2 years ago2 messages
#1Shinoda, Noriyoshi (PN Japan FSIP)
noriyoshi.shinoda@hpe.com
1 attachment(s)

Hi, hackers.
In PostgreSQL 16 Beta 1, standalone backend was added to the backend type by this patch [1]Add BackendType for standalone backends https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=0c679464a837079acc75ff1d45eaa83f79e05690. I think this patch will change the value of backend_type column in the pg_stat_activity view, but it's not explained in the documentation. The attached patch fixes monitoring.sgml.

[1]: Add BackendType for standalone backends https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=0c679464a837079acc75ff1d45eaa83f79e05690
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=0c679464a837079acc75ff1d45eaa83f79e05690

Regards,
Noriyoshi Shinoda

Attachments:

monitoring_sgml_v1.diffapplication/octet-stream; name=monitoring_sgml_v1.diffDownload
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index df5242fa80..40ad419194 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -988,7 +988,7 @@ postgres   27093  0.0  0.0  30096  2752 ?        Ss   11:34   0:00 postgres: ser
        <literal>logical replication worker</literal>,
        <literal>parallel worker</literal>, <literal>background writer</literal>,
        <literal>client backend</literal>, <literal>checkpointer</literal>,
-       <literal>archiver</literal>,
+       <literal>archiver</literal>, <literal>standalone backend</literal>,
        <literal>startup</literal>, <literal>walreceiver</literal>,
        <literal>walsender</literal> and <literal>walwriter</literal>.
        In addition, background workers registered by extensions may have
#2Daniel Gustafsson
daniel@yesql.se
In reply to: Shinoda, Noriyoshi (PN Japan FSIP) (#1)
Re: [16Beta1][doc] Add BackendType for standalone backends

On 29 May 2023, at 02:39, Shinoda, Noriyoshi (PN Japan FSIP) <noriyoshi.shinoda@hpe.com> wrote:

In PostgreSQL 16 Beta 1, standalone backend was added to the backend type by this patch [1]. I think this patch will change the value of backend_type column in the pg_stat_activity view, but it's not explained in the documentation. The attached patch fixes monitoring.sgml.

Nice catch, the documentation should indeed be updated with this to reflect the
possible values. Will fix.

--
Daniel Gustafsson