diff options
author | Nathan Bossart | 2023-09-25 21:12:43 +0000 |
---|---|---|
committer | Nathan Bossart | 2023-09-25 21:12:43 +0000 |
commit | 13aeaf0797e75a0c53abb66ac907ba14b4e47f6b (patch) | |
tree | bfcbbcbcae98f6428545c492ae5be6206f25bdc3 /doc/src | |
parent | 849d367ff9a2875d4906fa110472462c4c95fad0 (diff) |
Add worker type to pg_stat_subscription.
Thanks to commit 2a8b40e368, the logical replication worker type is
easily determined. The worker type could already be deduced via
other columns such as leader_pid and relid, but that is unnecessary
complexity for users.
Bumps catversion.
Author: Peter Smith
Reviewed-by: Michael Paquier, Maxim Orlov, Amit Kapila
Discussion: https://postgr.es/m/CAHut%2BPtmbSMfErSk0S7xxVdZJ9XVE3xVLhqBTmT91kf57BeKDQ%40mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/monitoring.sgml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 4ff415d6a0c..9c4930e9ae5 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1995,6 +1995,17 @@ description | Waiting for a newly initialized WAL file to reach durable storage <row> <entry role="catalog_table_entry"><para role="column_definition"> + <structfield>worker_type</structfield> <type>text</type> + </para> + <para> + Type of the subscription worker process. Possible types are + <literal>apply</literal>, <literal>parallel apply</literal>, and + <literal>table synchronization</literal>. + </para></entry> + </row> + + <row> + <entry role="catalog_table_entry"><para role="column_definition"> <structfield>pid</structfield> <type>integer</type> </para> <para> @@ -2008,7 +2019,7 @@ description | Waiting for a newly initialized WAL file to reach durable storage </para> <para> Process ID of the leader apply worker if this process is a parallel - apply worker; NULL if this process is a leader apply worker or a + apply worker; NULL if this process is a leader apply worker or a table synchronization worker </para></entry> </row> |