mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-04 16:28:40 +00:00
Use greater than [skip ci]
This commit is contained in:
1 parent
305d62146e
commit
2db1b19644
1 file changed
+1
-1
+1
-1
@@ -249,7 +249,7 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir)
|
||||
so->w = lappend(so->w, HnswGetSearchCandidate(w_node, pairingheap_remove_first(so->discarded)));
|
||||
}
|
||||
/* Prevent scans from consuming too much memory */
|
||||
else if (MemoryContextMemAllocated(so->tmpCtx, false) >= so->maxMemory)
|
||||
else if (MemoryContextMemAllocated(so->tmpCtx, false) > so->maxMemory)
|
||||
{
|
||||
if (pairingheap_is_empty(so->discarded))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user