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 progress of streaming base backup.
Date: Tue, 03 Mar 2020 03:05:24 +0000
Message-ID: <E1j8xs4-0004wa-3O@gemulon.postgresql.org> (raw)

Report progress of streaming base backup.

This commit adds pg_stat_progress_basebackup view that reports
the progress while an application like pg_basebackup is taking
a base backup. This uses the progress reporting infrastructure
added by c16dc1aca5e0, adding support for streaming base backup.

Bump catversion.

Author: Fujii Masao
Reviewed-by: Kyotaro Horiguchi, Amit Langote, Sergei Kornilov
Discussion: https://postgr.es/m/9ed8b801-8215-1f3d-62d7-65bff53f6e94@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e65497df8f85ab9b9084c928ff69f384ea729b24

Modified Files
--------------
doc/src/sgml/monitoring.sgml         | 163 ++++++++++++++++++++++++++++++++++-
doc/src/sgml/protocol.sgml           |   2 +-
doc/src/sgml/ref/pg_basebackup.sgml  |  16 ++++
src/backend/access/transam/xlog.c    |  13 +++
src/backend/catalog/system_views.sql |  16 ++++
src/backend/replication/basebackup.c |  99 ++++++++++++++++++++-
src/backend/utils/adt/pgstatfuncs.c  |   2 +
src/include/catalog/catversion.h     |   2 +-
src/include/commands/progress.h      |  14 +++
src/include/pgstat.h                 |   3 +-
src/test/regress/expected/rules.out  |  15 ++++
11 files changed, 339 insertions(+), 6 deletions(-)



Message-ID: <E1j8xs4-0004wa-3O@gemulon.postgresql.org>
Permalink:  ../E1j8xs4-0004wa-3O@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1j8xs4-0004wa-3O@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 progress of streaming base backup.
  In-Reply-To: <E1j8xs4-0004wa-3O@gemulon.postgresql.org>
  References: <E1j8xs4-0004wa-3O@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