From 794ce3a54cd7995c00fa6f827bd27d4e0ac92bb0 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 22 Sep 2024 09:10:05 -0700 Subject: [PATCH] Updated comment [skip ci] --- src/hnswscan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hnswscan.c b/src/hnswscan.c index 302797f..cfad6f7 100644 --- a/src/hnswscan.c +++ b/src/hnswscan.c @@ -235,7 +235,8 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir) { /* * Ensure vacuum does not mark tuples as deleted during an - * iteration + * iteration. This ensures indextids in NeighborTuple point to + * the correct element without needing version for each one. */ LockPage(scan->indexRelation, HNSW_SCAN_LOCK, ShareLock);