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
This commit is contained in:
Magnus Hagander 2017-04-01 17:04:14 +02:00
parent 01fd6f8f2d
commit 7220c7b3e5

View File

@ -1757,7 +1757,7 @@ BaseBackup(void)
progname);
if (showprogress && !verbose)
fprintf(stderr, "waiting for checkpoint\n");
fprintf(stderr, "waiting for checkpoint\r");
basebkp =
psprintf("BASE_BACKUP LABEL '%s' %s %s %s %s %s %s",