Skip to content

Commit 14f3864

Browse files
author
Alexander Korotkov
committed
Fix WAL records for zeroing 64-bit SLRUs.
1 parent a8d6ebf commit 14f3864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/transam/multixact.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2556,7 +2556,7 @@ static void
25562556
WriteMZeroPageXlogRec(int64 pageno, uint8 info)
25572557
{
25582558
XLogBeginInsert();
2559-
XLogRegisterData((char *) (&pageno), sizeof(int));
2559+
XLogRegisterData((char *) (&pageno), sizeof(int64));
25602560
(void) XLogInsert(RM_MULTIXACT_ID, info);
25612561
}
25622562

0 commit comments

Comments
 (0)