From 9af67ed097513609a2a23e4fd4bb7a216967eb49 Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Sat, 4 Jan 2020 19:50:35 +0300 Subject: [PATCH] Revert "use IsXLogFileName() when parsing xlog filenames" This reverts commit 6ad38c62ce29c64d30b485e96ed4e9574d7ef0f7. --- src/catalog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/catalog.c b/src/catalog.c index 44c30283..ae302d48 100644 --- a/src/catalog.c +++ b/src/catalog.c @@ -717,7 +717,7 @@ catalog_get_timelines(InstanceConfig *instance) xlogFile *wal_file = NULL; /* regular WAL file */ - if (IsXLogFileName(file->name)) + if (strspn(file->name, "0123456789ABCDEF") == XLOG_FNAME_LEN) { int result = 0; uint32 log, seg;