@@ -427,7 +427,6 @@ add_walsegment_to_filelist(parray *filelist, uint32 timeline, XLogRecPtr xlogpos
427427 join_path_components (wal_segment_relpath , PG_XLOG_DIR , wal_segment_name );
428428
429429 file = pgFileNew (wal_segment_fullpath , wal_segment_relpath , false, 0 , FIO_BACKUP_HOST );
430- file -> name = file -> rel_path ;
431430
432431 /*
433432 * Check if file is already in the list
@@ -457,7 +456,7 @@ add_walsegment_to_filelist(parray *filelist, uint32 timeline, XLogRecPtr xlogpos
457456 parray_append (filelist , file );
458457}
459458
460- /* Append streamed WAL segment to filelist */
459+ /* Append history file to filelist */
461460void
462461add_history_file_to_filelist (parray * filelist , uint32 timeline , char * basedir )
463462{
@@ -475,7 +474,6 @@ add_history_file_to_filelist(parray *filelist, uint32 timeline, char *basedir)
475474 join_path_components (relpath , PG_XLOG_DIR , filename );
476475
477476 file = pgFileNew (fullpath , relpath , false, 0 , FIO_BACKUP_HOST );
478- file -> name = file -> rel_path ;
479477
480478 /* calculate crc */
481479 file -> crc = pgFileGetCRC (fullpath , true, false);
0 commit comments