From 581ec6bfed522ae1d445c997205008673b5d743a Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 29 Apr 2023 12:20:04 -0700 Subject: [PATCH] Use maxItems 10 [skip ci] --- src/ivfscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ivfscan.c b/src/ivfscan.c index 7fc09da..f07cee8 100644 --- a/src/ivfscan.c +++ b/src/ivfscan.c @@ -232,7 +232,7 @@ ivfflatbeginscan(Relation index, int nkeys, int norderbys) so->listQueue = pairingheap_allocate(CompareLists, scan); - so->maxItems = 1024; + so->maxItems = 10; so->itemCount = 0; so->itemQueue = pairingheap_allocate(CompareItems, scan); so->items = palloc(sizeof(IvfflatScanItem) * (so->maxItems + 1));