diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index e37df8c023dcaa788b091839d8294fe5c0a028a6..d0e39b1f8db7d06fa1f83c3b9118cffdfe75e418 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -4756,7 +4756,7 @@ l3: uint16 infomask; uint16 infomask2; bool require_sleep; - bool skip_tuple_lock; + bool skip_tuple_lock = false; ItemPointerData t_ctid; /* must copy state data before unlocking buffer */ @@ -4782,7 +4782,6 @@ l3: if (first_time) { first_time = false; - skip_tuple_lock = false; if (infomask & HEAP_XMAX_IS_MULTI) {