Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfa7d5b7

Browse files
committed
Add verbosity to pg_basebackup for sync
This is useful to know when the data copy has been finished. Thecurrent situation can be confusing for users as the last message is"waiting for background process to finish streaming", so it looks likethis is taking time but the final sync is instead.Author: Jeff JanesDiscussion:https://postgr.es/m/CAMkU=1ypeoMJ=tFBG8vP13sxEtXd4Pm_x1SqsJdW_RvzpcvN=A@mail.gmail.com
1 parente2c0df7 commitfa7d5b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,6 +2112,9 @@ BaseBackup(void)
21122112
*/
21132113
if (do_sync)
21142114
{
2115+
if (verbose)
2116+
fprintf(stderr,
2117+
_("%s: syncing data to disk ...\n"),progname);
21152118
if (format=='t')
21162119
{
21172120
if (strcmp(basedir,"-")!=0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp