@@ -427,7 +427,6 @@ add_walsegment_to_filelist(parray *filelist, uint32 timeline, XLogRecPtr xlogpos
427
427
join_path_components (wal_segment_relpath , PG_XLOG_DIR , wal_segment_name );
428
428
429
429
file = pgFileNew (wal_segment_fullpath , wal_segment_relpath , false, 0 , FIO_BACKUP_HOST );
430
- file -> name = file -> rel_path ;
431
430
432
431
/*
433
432
* Check if file is already in the list
@@ -457,7 +456,7 @@ add_walsegment_to_filelist(parray *filelist, uint32 timeline, XLogRecPtr xlogpos
457
456
parray_append (filelist , file );
458
457
}
459
458
460
- /* Append streamed WAL segment to filelist */
459
+ /* Append history file to filelist */
461
460
void
462
461
add_history_file_to_filelist (parray * filelist , uint32 timeline , char * basedir )
463
462
{
@@ -475,7 +474,6 @@ add_history_file_to_filelist(parray *filelist, uint32 timeline, char *basedir)
475
474
join_path_components (relpath , PG_XLOG_DIR , filename );
476
475
477
476
file = pgFileNew (fullpath , relpath , false, 0 , FIO_BACKUP_HOST );
478
- file -> name = file -> rel_path ;
479
477
480
478
/* calculate crc */
481
479
file -> crc = pgFileGetCRC (fullpath , true, false);
0 commit comments