Skip to content

Commit 9d80dac

Browse files
knizhnikMMeent
authored andcommitted
Update heap pge LSN in case of VM changes even if wal_redo_hints=off (#251)
refer #2807
1 parent f8d89e6 commit 9d80dac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/access/heap/visibilitymap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@ visibilitymap_set(Relation rel, BlockNumber heapBlk, Buffer heapBuf,
289289
* If data checksums are enabled (or wal_log_hints=on), we
290290
* need to protect the heap page from being torn.
291291
*/
292+
/* NEON: we have to update page LSN even if wal_log_hints=off
292293
if (XLogHintBitIsNeeded())
294+
*/
293295
{
294296
Page heapPage = BufferGetPage(heapBuf);
295297

0 commit comments

Comments
 (0)