Write "waiting for checkpoint" on regular progress row

Magnus Hagander <magnus@hagander.net>

Commit: 7220c7b3e5c847227fbfe53bbaca326044674a6c
Author: Magnus Hagander <magnus@hagander.net>
Date: 2017-04-01T15:04:14Z
Releases: 10.0
Write "waiting for checkpoint" on regular progress row

When reporting progress, make the "waiting for checkpoint" test be
overwritten by the file-based progress once it's completed. This is more
consistent with how we report the rest of the progress.

Suggested by Jeff Janes

Files

PathChange+/−
src/bin/pg_basebackup/pg_basebackup.c modified +1 −1