pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Report wait events for local shell commands like archive_command
Date: Mon, 22 Nov 2021 01:29:19 +0000
Message-ID: <E1moy91-0002hp-PY@gemulon.postgresql.org> (raw)

Report wait events for local shell commands like archive_command.

This commit introduces new wait events for archive_command,
archive_cleanup_command, restore_command and recovery_end_command.

Author: Fujii Masao
Reviewed-by: Bharath Rupireddy, Michael Paquier
Discussion: https://postgr.es/m/4ca4f920-6b48-638d-08b2-93598356f5d3@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1b06d7bac901e5fd20bba597188bae2882bf954b

Modified Files
--------------
doc/src/sgml/monitoring.sgml             | 22 +++++++++++++++++++++-
src/backend/access/transam/xlog.c        |  6 ++++--
src/backend/access/transam/xlogarchive.c |  9 ++++++++-
src/backend/postmaster/pgarch.c          |  3 +++
src/backend/utils/activity/wait_event.c  | 12 ++++++++++++
src/include/access/xlogarchive.h         |  2 +-
src/include/utils/wait_event.h           |  4 ++++
7 files changed, 53 insertions(+), 5 deletions(-)



Message-ID: <E1moy91-0002hp-PY@gemulon.postgresql.org>
Permalink:  ../E1moy91-0002hp-PY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1moy91-0002hp-PY@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: Report wait events for local shell commands like archive_command
  In-Reply-To: <E1moy91-0002hp-PY@gemulon.postgresql.org>
  References: <E1moy91-0002hp-PY@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox