Thread: Re: Repeated PredicateLockRelation calls during seqscan

Re: Repeated PredicateLockRelation calls during seqscan

From
"Kevin Grittner"
Date:
"Kevin Grittner"  wrote:
> Heikki Linnakangas wrote:
>> BTW, isn't bitgetpage() in nodeBitmapHeapscan.c missing
>> PredicateLockTuple() and CheckForSerializableConflictOut() calls
>> in the codepath for a lossy bitmap? In the non-lossy case,
>> heap_hot_search_buffer() takes care of it, but not in the lossy
>> case.
> 
> I think the attached addresses that.
Don't commit that patch, it's not holding up in testing here.
I'll look at it some more.
-Kevin