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

Commitabfb2b5

Browse files
committed
Merge branch 'master' of git.postgrespro.ru:pgpro-dev/pg_probackup
2 parents3eed671 +79f940f commitabfb2b5

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎src/data.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ backup_data_file(backup_files_arg* arguments,
585585
}
586586

587587
if (file->size %BLCKSZ!=0)
588-
elog(WARNING,"File:%s, invalid file size %zu",file->path,file->size);
588+
elog(WARNING,"File:\"%s\", invalid file size %zu",file->path,file->size);
589589

590590
/*
591591
* Compute expected number of blocks in the file.
@@ -622,7 +622,7 @@ backup_data_file(backup_files_arg* arguments,
622622
if (rc==PAGE_CHECKSUM_MISMATCH&&is_ptrack_support)
623623
gotoRetryUsingPtrack;
624624
if (rc<0)
625-
elog(ERROR,"Failed to read file%s: %s",
625+
elog(ERROR,"Failed to read file\"%s\": %s",
626626
file->path,rc==PAGE_CHECKSUM_MISMATCH ?"data file checksum mismatch" :strerror(-rc));
627627
n_blocks_read=rc;
628628
}
@@ -1209,10 +1209,7 @@ check_data_file(ConnectionArgs *arguments,
12091209
}
12101210

12111211
if (file->size %BLCKSZ!=0)
1212-
{
1213-
fclose(in);
1214-
elog(WARNING,"File: %s, invalid file size %zu",file->path,file->size);
1215-
}
1212+
elog(WARNING,"File: \"%s\", invalid file size %zu",file->path,file->size);
12161213

12171214
/*
12181215
* Compute expected number of blocks in the file.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp