@@ -222,7 +222,7 @@ static bool add_values_to_range(Relation idxRel, BrinDesc *bdesc,
222222 BrinMemTuple * dtup , const Datum * values , const bool * nulls );
223223static bool check_null_keys (BrinValues * bval , ScanKey * nullkeys , int nnullkeys );
224224static void brin_fill_empty_ranges (BrinBuildState * state ,
225- BlockNumber prevRange , BlockNumber maxRange );
225+ BlockNumber prevRange , BlockNumber nextRange );
226226
227227/* parallel index builds */
228228static void _brin_begin_parallel (BrinBuildState * buildstate , Relation heap , Relation index ,
@@ -1151,8 +1151,8 @@ brinbuild(Relation heap, Relation index, IndexInfo *indexInfo)
11511151 *
11521152 * XXX plan_create_index_workers makes the number of workers dependent on
11531153 * maintenance_work_mem, requiring 32MB for each worker. That makes sense
1154- * for btree, but not for BRIN, which can do away with much less memory.
1155- * So maybe make that somehow less strict, optionally?
1154+ * for btree, but not for BRIN, which can do with much less memory. So
1155+ * maybe make that somehow less strict, optionally?
11561156 */
11571157 if (indexInfo -> ii_ParallelWorkers > 0 )
11581158 _brin_begin_parallel (state , heap , index , indexInfo -> ii_Concurrent ,
@@ -2621,7 +2621,7 @@ _brin_parallel_merge(BrinBuildState *state)
26212621
26222622 /*
26232623 * Initialize BrinMemTuple we'll use to union summaries from workers (in
2624- * case they happened to produce parts of the same paga range).
2624+ * case they happened to produce parts of the same page range).
26252625 */
26262626 memtuple = brin_new_memtuple (state -> bs_bdesc );
26272627
@@ -2932,7 +2932,7 @@ _brin_parallel_build_main(dsm_segment *seg, shm_toc *toc)
29322932 * specified block number. The empty tuple is initialized only once, when it's
29332933 * needed for the first time, stored in the memory context bs_context to ensure
29342934 * proper life span, and reused on following calls. All empty tuples are
2935- * exactly the same except for the bs_blkno field, which is set to the value
2935+ * exactly the same except for the bt_blkno field, which is set to the value
29362936 * in blkno parameter.
29372937 */
29382938static void
0 commit comments