diff --git a/src/hnswvacuum.c b/src/hnswvacuum.c index c84ab17..60c94a2 100644 --- a/src/hnswvacuum.c +++ b/src/hnswvacuum.c @@ -442,7 +442,7 @@ MarkDeleted(HnswVacuumState * vacuumstate) BlockNumber insertPage = InvalidBlockNumber; Relation index = vacuumstate->index; BufferAccessStrategy bas = vacuumstate->bas; - bool useIndexTuple = IndexRelationGetNumberOfAttributes(index); + bool useIndexTuple = IndexRelationGetNumberOfAttributes(index) > 1; /* * Wait for index scans to complete. Scans before this point may contain