Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2c6da8d

Browse files
author
Artur Zakirov
committed
SimpleXLogPageRead(): exit from function if WAL segment doesn't exist
1 parent 0bdffbc commit 2c6da8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

parsexlog.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ SimpleXLogPageRead(XLogReaderState *xlogreader, XLogRecPtr targetPagePtr,
224224
return -1;
225225
}
226226
}
227+
/* Exit without error if WAL segment doesn't exist */
228+
else
229+
return -1;
227230
}
228231

229232
/*

0 commit comments

Comments
 (0)