Updated comment [skip ci]

This commit is contained in:
Andrew Kane
2024-09-22 09:10:05 -07:00
parent be51204a45
commit 794ce3a54c

View File

@@ -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);