Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8c17144

Browse files
committed
Fix off-by-one bug in xlog reading logic
Bug reported by Michael PaquierAuthor: Andres Freund
1 parent74a82ba commit8c17144

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8875,7 +8875,7 @@ XLogPageRead(XLogReaderState *xlogreader, XLogRecPtr targetPagePtr, int reqLen,
88758875
/* See if we need to retrieve more data */
88768876
if (readFile<0||
88778877
(readSource==XLOG_FROM_STREAM&&
8878-
receivedUpto <=targetPagePtr+reqLen))
8878+
receivedUpto<targetPagePtr+reqLen))
88798879
{
88808880
if (StandbyMode)
88818881
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp