Added comment [skip ci]

This commit is contained in:
Andrew Kane
2023-09-03 15:44:05 -07:00
parent 3f49343a79
commit 68c67be35a

View File

@@ -78,6 +78,7 @@ RemoveHeapTid(IndexScanDesc scan)
if (!BufferIsValid(buf) || !OffsetNumberIsValid(so->offno) || !ItemPointerIsValid(&so->heaptid))
return;
/* Use WAL rather than hint */
LockBuffer(buf, BUFFER_LOCK_EXCLUSIVE);
state = GenericXLogStart(index);
page = GenericXLogRegisterBuffer(state, buf, 0);