pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve comments and logs in do_pg_stop/start_backup
Date: Tue, 01 Jan 2019 00:03:45 +0000
Message-ID: <E1ge7X7-0002qn-MB@gemulon.postgresql.org> (raw)

Improve comments and logs in do_pg_stop/start_backup

The function name pg_stop_backup() has been included for ages in some
log messages when stopping the backup, which is confusing for base
backups taken with the replication protocol because this function is
never called.  Some other comments and messages in this area are
improved while on it.

The new wording is based on input and suggestions from several people,
all listed below.

Author: Michael Paquier
Reviewed-by: Peter Eisentraut, Álvaro Herrera, Tom Lane
Discussion: https://postgr.es/m/20181221040510.GA12599@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8d3b389ec3405659d8e2968fc6179b28b286ccd8

Modified Files
--------------
src/backend/access/transam/xlog.c | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)



Message-ID: <E1ge7X7-0002qn-MB@gemulon.postgresql.org>
Permalink:  ../E1ge7X7-0002qn-MB@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ge7X7-0002qn-MB@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: michael@paquier.xyz
  Subject: Re: pgsql: Improve comments and logs in do_pg_stop/start_backup
  In-Reply-To: <E1ge7X7-0002qn-MB@gemulon.postgresql.org>
  References: <E1ge7X7-0002qn-MB@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