pgvector.git / summary / log / commit / refs
commit 0ee5bfda65d4a2b4020498d5542c7962e014ef8d
Author: Andrew Kane <andrew@ankane.org>
Date: Sun Jan 30 04:12:00 2022 +0000
Added comment [skip ci]
src/ivfbuild.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/ivfbuild.c b/src/ivfbuild.c
index 6fc55848..d78f0c1e 100644
--- a/src/ivfbuild.c
+++ b/src/ivfbuild.c
@@ -229,6 +229,7 @@ InsertTuples(Relation index, IvfflatBuildState * buildstate, ForkNumber forkNum)
for (i = 0; i < buildstate->centers->length; i++)
{
/* Can take a while, so ensure we can interrupt */
+ /* Needs to be called when no buffer locks are held */
CHECK_FOR_INTERRUPTS();
buf = IvfflatNewBuffer(index, forkNum);
[parent: c5bec2a534b0]