From 3351f3d43e115ca5ad54ec1554009d5086a6e073 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 26 May 2026 13:39:20 -0700 Subject: [PATCH] Simplified comment [skip ci] --- src/ivfbuild.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ivfbuild.c b/src/ivfbuild.c index 4604fb5..3be9391 100644 --- a/src/ivfbuild.c +++ b/src/ivfbuild.c @@ -145,12 +145,7 @@ SampleRows(IvfflatBuildState * buildstate) { BlockNumber targblock = BlockSampler_Next(&buildstate->bs); - /* - * anyvisible must be false when the scan uses an MVCC snapshot - * (i.e. CREATE INDEX CONCURRENTLY), otherwise PG will assert in - * heapam_index_build_range_scan. Always pass false here, matching - * what table_index_build_scan does internally. - */ + /* Set anyvisible to false like table_index_build_scan */ table_index_build_range_scan(buildstate->heap, buildstate->index, buildstate->indexInfo, false, false, false, targblock, 1, SampleCallback, (void *) buildstate, NULL); }