From 4ef5bca2752eef1b92272499edf04c3295baa480 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 4 Oct 2023 21:37:55 -0700 Subject: [PATCH] Use BLCKSZ for consistency --- src/hnswbuild.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hnswbuild.c b/src/hnswbuild.c index 21ad8ce..2f3d9d8 100644 --- a/src/hnswbuild.c +++ b/src/hnswbuild.c @@ -122,7 +122,7 @@ CreateElementPages(HnswBuildState * buildstate) /* Allocate once */ etup = palloc0(etupSize); - ntup = palloc0(maxSize); + ntup = palloc0(BLCKSZ); /* Prepare first page */ buf = HnswNewBuffer(index, forkNum);