We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 953477c commit 9abbf47Copy full SHA for 9abbf47
src/backend/access/hash/hash_xlog.c
@@ -1250,8 +1250,14 @@ hash_mask(char *pagedata, BlockNumber blkno)
1250
/*
1251
* In hash bucket and overflow pages, it is possible to modify the
1252
* LP_FLAGS without emitting any WAL record. Hence, mask the line
1253
- * pointer flags. See hashgettuple() for details.
+ * pointer flags. See hashgettuple(), _hash_kill_items() for details.
1254
*/
1255
mask_lp_flags(page);
1256
}
1257
+
1258
+ /*
1259
+ * It is possible that the hint bit LH_PAGE_HAS_DEAD_TUPLES may remain
1260
+ * unlogged. So, mask it. See _hash_kill_items() for details.
1261
+ */
1262
+ opaque->hasho_flag &= ~LH_PAGE_HAS_DEAD_TUPLES;
1263
0 commit comments