pgvector.git / summary / log / commit / refs
commit e7a913f3610ca46e342717015d8920fdeaa0942e
Author: Andrew Kane <andrew@ankane.org>
Date: Fri Aug 11 17:11:01 2023 +0000
Updated comment [skip ci]
src/hnswinsert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hnswinsert.c b/src/hnswinsert.c
index 40b476d2..bfd237d3 100644
--- a/src/hnswinsert.c
+++ b/src/hnswinsert.c
@@ -512,7 +512,7 @@ HnswInsertTuple(Relation index, Datum *values, bool *isnull, ItemPointer heap_ti
/* Get entry point */
entryPoint = HnswGetEntryPoint(index);
- /* Special case for no entry point */
+ /* Prevent concurrent inserts when no entry point */
if (entryPoint == NULL)
{
if (HnswAddEntryPoint(index, element, m, &entryPoint))
[parent: 33438c3cf978]