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

Commit23abfcb

Browse files
committed
change WARNING message to LOG in verbose mode
1 parentd10e5f1 commit23abfcb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎data.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ backup_data_page(pgFile *file, const XLogRecPtr *lsn,
8181

8282
if (st.st_size/BLCKSZ <=blknum)
8383
{
84-
elog(WARNING,"File: %s, file was truncated after backup start."
85-
"Expected nblocks %u. Real nblocks %ld. Cannot read block %u ",
86-
file->path,nblocks,st.st_size/BLCKSZ,blknum);
84+
if (verbose)
85+
elog(LOG,"File: %s, file was truncated after backup start."
86+
"Expected nblocks %u. Real nblocks %ld. Cannot read block %u ",
87+
file->path,nblocks,st.st_size/BLCKSZ,blknum);
8788
return;
8889
}
8990
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp