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

Commitcd9a119

Browse files
committed
Hide some log message for non-verbose mode.
1 parent65bb8b5 commitcd9a119

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎data.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ backup_data_file(const char *from_root, const char *to_root,
284284
for(i=0;i<BLCKSZ&&page.data[i]==0;i++);
285285
if (i==BLCKSZ)
286286
{
287-
elog(WARNING,"File: %s blknum %u, empty page",file->path,blknum);
287+
elog(LOG,"File: %s blknum %u, empty page",file->path,blknum);
288288
gotoend_checks2;
289289
}
290290

@@ -318,7 +318,7 @@ backup_data_file(const char *from_root, const char *to_root,
318318
pg_checksum_page(page.data,file->segno*RELSEG_SIZE+blknum)!= ((PageHeader)page.data)->pd_checksum)
319319
{
320320
if (try_checksum)
321-
elog(WARNING,"File: %s blknum %u have wrong checksum, try again",file->path,blknum);
321+
elog(LOG,"File: %s blknum %u have wrong checksum, try again",file->path,blknum);
322322
else
323323
elog(ERROR,"File: %s blknum %u have wrong checksum.",file->path,blknum);
324324
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp