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

Commit5234161

Browse files
committed
Mark the SLRU page as dirty when setting an entry in pg_serial. In the
passing, fix an incorrect comment.
1 parent7d43ae6 commit5234161

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/backend/storage/lmgr/predicate.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ OldSerXidInit(void)
729729
/*
730730
* Record a committed read write serializable xid and the minimum
731731
* commitSeqNo of any transactions to which this xid had a rw-conflict out.
732-
*A zero seqNo means that there were no conflicts out from xid.
732+
*An invalid seqNo means that there were no conflicts out from xid.
733733
*/
734734
staticvoid
735735
OldSerXidAdd(TransactionIdxid,SerCommitSeqNominConflictCommitSeqNo)
@@ -807,6 +807,7 @@ OldSerXidAdd(TransactionId xid, SerCommitSeqNo minConflictCommitSeqNo)
807807
slotno=SimpleLruReadPage(OldSerXidSlruCtl,targetPage, true,xid);
808808

809809
OldSerXidValue(slotno,xid)=minConflictCommitSeqNo;
810+
OldSerXidSlruCtl->shared->page_dirty[slotno]= true;
810811

811812
LWLockRelease(OldSerXidLock);
812813
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp