@@ -222,7 +222,7 @@ static bool add_values_to_range(Relation idxRel, BrinDesc *bdesc,
222
222
BrinMemTuple * dtup , const Datum * values , const bool * nulls );
223
223
static bool check_null_keys (BrinValues * bval , ScanKey * nullkeys , int nnullkeys );
224
224
static void brin_fill_empty_ranges (BrinBuildState * state ,
225
- BlockNumber prevRange , BlockNumber maxRange );
225
+ BlockNumber prevRange , BlockNumber nextRange );
226
226
227
227
/* parallel index builds */
228
228
static void _brin_begin_parallel (BrinBuildState * buildstate , Relation heap , Relation index ,
@@ -1151,8 +1151,8 @@ brinbuild(Relation heap, Relation index, IndexInfo *indexInfo)
1151
1151
*
1152
1152
* XXX plan_create_index_workers makes the number of workers dependent on
1153
1153
* 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?
1156
1156
*/
1157
1157
if (indexInfo -> ii_ParallelWorkers > 0 )
1158
1158
_brin_begin_parallel (state , heap , index , indexInfo -> ii_Concurrent ,
@@ -2621,7 +2621,7 @@ _brin_parallel_merge(BrinBuildState *state)
2621
2621
2622
2622
/*
2623
2623
* 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).
2625
2625
*/
2626
2626
memtuple = brin_new_memtuple (state -> bs_bdesc );
2627
2627
@@ -2932,7 +2932,7 @@ _brin_parallel_build_main(dsm_segment *seg, shm_toc *toc)
2932
2932
* specified block number. The empty tuple is initialized only once, when it's
2933
2933
* needed for the first time, stored in the memory context bs_context to ensure
2934
2934
* 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
2936
2936
* in blkno parameter.
2937
2937
*/
2938
2938
static void
0 commit comments