@@ -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 goto RetryUsingPtrack ;
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