mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-10 06:40:57 +08:00
Added comment [skip ci]
This commit is contained in:
@@ -204,6 +204,10 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir)
|
|||||||
if (!hnsw_streaming)
|
if (!hnsw_streaming)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Ensure vacuum does not mark tuples as deleted during an
|
||||||
|
* iteration
|
||||||
|
*/
|
||||||
LockPage(scan->indexRelation, HNSW_SCAN_LOCK, ShareLock);
|
LockPage(scan->indexRelation, HNSW_SCAN_LOCK, ShareLock);
|
||||||
|
|
||||||
HnswBench("scan iteration", so->w = ResumeScanItems(scan));
|
HnswBench("scan iteration", so->w = ResumeScanItems(scan));
|
||||||
|
|||||||
Reference in New Issue
Block a user