Skip to content

Commit 7220c7b

Browse files
committed
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
1 parent 01fd6f8 commit 7220c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,7 @@ BaseBackup(void)
17571757
progname);
17581758

17591759
if (showprogress && !verbose)
1760-
fprintf(stderr, "waiting for checkpoint\n");
1760+
fprintf(stderr, "waiting for checkpoint\r");
17611761

17621762
basebkp =
17631763
psprintf("BASE_BACKUP LABEL '%s' %s %s %s %s %s %s",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy