mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
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:
@ -1757,7 +1757,7 @@ BaseBackup(void)
|
|||||||
progname);
|
progname);
|
||||||
|
|
||||||
if (showprogress && !verbose)
|
if (showprogress && !verbose)
|
||||||
fprintf(stderr, "waiting for checkpoint\n");
|
fprintf(stderr, "waiting for checkpoint\r");
|
||||||
|
|
||||||
basebkp =
|
basebkp =
|
||||||
psprintf("BASE_BACKUP LABEL '%s' %s %s %s %s %s %s",
|
psprintf("BASE_BACKUP LABEL '%s' %s %s %s %s %s %s",
|
||||||
|
Reference in New Issue
Block a user