Simplified comment [skip ci]

This commit is contained in:
Andrew Kane
2026-05-26 13:39:20 -07:00
parent d238409bec
commit 3351f3d43e

View File

@@ -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);
}