projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01fd6f8
)
Write "waiting for checkpoint" on regular progress row
author
Magnus Hagander
Sat, 1 Apr 2017 15:04:14 +0000
(17:04 +0200)
committer
Magnus Hagander
Sat, 1 Apr 2017 15:04:14 +0000
(17:04 +0200)
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
src/bin/pg_basebackup/pg_basebackup.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_basebackup/pg_basebackup.c
b/src/bin/pg_basebackup/pg_basebackup.c
index 0a4944dd66ee861d226f69b0e805f439afedb7ae..40ec0e17dc5b3f445c0ee07285ce27b937049265 100644
(file)
--- a/
src/bin/pg_basebackup/pg_basebackup.c
+++ b/
src/bin/pg_basebackup/pg_basebackup.c
@@
-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",