mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-09 14:45:47 +02:00
use IsXLogFileName() when parsing xlog filenames
This commit is contained in:
parent
3129369112
commit
6ad38c62ce
@ -717,7 +717,7 @@ catalog_get_timelines(InstanceConfig *instance)
|
||||
xlogFile *wal_file = NULL;
|
||||
|
||||
/* regular WAL file */
|
||||
if (strspn(file->name, "0123456789ABCDEF") == XLOG_FNAME_LEN)
|
||||
if (IsXLogFileName(file->name))
|
||||
{
|
||||
int result = 0;
|
||||
uint32 log, seg;
|
||||
|
Loading…
Reference in New Issue
Block a user