Improve comments and logs in do_pg_stop/start_backup
authorMichael Paquier <michael@paquier.xyz>
Mon, 31 Dec 2018 23:53:02 +0000 (08:53 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 31 Dec 2018 23:53:02 +0000 (08:53 +0900)
commit8d3b389ec3405659d8e2968fc6179b28b286ccd8
tree3eb0a35993e90bb5d6a481926e2b78776e03589b
parentaa019da523912876ec20129f28b3b1657ba6f263
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
src/backend/access/transam/xlog.c