From 9f944e5c544af9b951943b0699330695b9707e56 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 23 Sep 2024 13:52:50 -0700 Subject: [PATCH] Fixed logic [skip ci] --- src/hnswvacuum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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