Skip to content

Commit 17251d6

Browse files
committed
[Issue #376] follow symlinks when walking the WAL archive directory
1 parent b1ee3a9 commit 17251d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/catalog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ catalog_get_timelines(InstanceConfig *instance)
14041404

14051405
/* read all xlog files that belong to this archive */
14061406
sprintf(arclog_path, "%s/%s/%s", backup_path, "wal", instance->name);
1407-
dir_list_file(xlog_files_list, arclog_path, false, false, false, false, true, 0, FIO_BACKUP_HOST);
1407+
dir_list_file(xlog_files_list, arclog_path, false, true, false, false, true, 0, FIO_BACKUP_HOST);
14081408
parray_qsort(xlog_files_list, pgFileCompareName);
14091409

14101410
timelineinfos = parray_new();

0 commit comments

Comments
 (0)