Skip to content

Commit 9af67ed

Browse files
committed
Revert "use IsXLogFileName() when parsing xlog filenames"
This reverts commit 6ad38c6.
1 parent 9cce863 commit 9af67ed

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
@@ -717,7 +717,7 @@ catalog_get_timelines(InstanceConfig *instance)
717717
xlogFile *wal_file = NULL;
718718

719719
/* regular WAL file */
720-
if (IsXLogFileName(file->name))
720+
if (strspn(file->name, "0123456789ABCDEF") == XLOG_FNAME_LEN)
721721
{
722722
int result = 0;
723723
uint32 log, seg;

0 commit comments

Comments
 (0)