pgvector.git / summary / log / commit / refs
commit daef83a11243ea41dc4ef179077869c1e95691f6
Author: Andrew Kane <andrew@ankane.org>
Date: Fri Aug 11 20:03:38 2023 +0000
Added comment [skip ci]
src/hnswinsert.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/hnswinsert.c b/src/hnswinsert.c
index bfd237d3..37a7fedd 100644
--- a/src/hnswinsert.c
+++ b/src/hnswinsert.c
@@ -154,6 +154,7 @@ WriteNewElementPages(Relation index, HnswElement e, int m, BlockNumber insertPag
/* First, try the fastest path */
/* Space for both tuples on the current page */
+ /* This can split existing tuples in rare cases */
if (PageGetFreeSpace(page) >= combinedSize)
{
nbuf = buf;
[parent: c9d82c6bdc9d]