Skip to content

Commit 9fb38e0

Browse files
knizhniktristan957
authored andcommitted
Set lsn fix v15 (#252)
* Show prefetch statistic in EXPLAIN refer #2994 * Update heap pge LSN in case of VM changes even if wal_redo_hints=off refer #2807 * Undo occasional changes * Undo occasional changes
1 parent 19c5183 commit 9fb38e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/access/heap/visibilitymap.c

+2
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,9 @@ visibilitymap_set(Relation rel, BlockNumber heapBlk, Buffer heapBuf,
290290
* If data checksums are enabled (or wal_log_hints=on), we
291291
* need to protect the heap page from being torn.
292292
*/
293+
/* NEON: we have to update page LSN even if wal_log_hints=off
293294
if (XLogHintBitIsNeeded())
295+
*/
294296
{
295297
Page heapPage = BufferGetPage(heapBuf);
296298

0 commit comments

Comments
 (0)