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 e46cd42 commit 706cb9bCopy full SHA for 706cb9b
src/backend/executor/nodeIndexonlyscan.c
@@ -166,11 +166,8 @@ IndexOnlyNext(IndexOnlyScanState *node)
166
}
167
168
/*
169
- * Predicate locks for index-only scans must be acquired at the page
170
- * level when the heap is not accessed, since tuple-level predicate
171
- * locks need the tuple's xmin value. If we had to visit the tuple
172
- * anyway, then we already have the tuple-level lock and can skip the
173
- * page lock.
+ * If we didn't access the heap, then we'll need to take a predicate
+ * lock explicitly, as if we had. For now we do that at page level.
174
*/
175
if (tuple == NULL)
176
PredicateLockPage(scandesc->heapRelation,
0 commit comments