@@ -399,11 +399,11 @@ ExecBitmapIndexScanInitializeWorker(BitmapIndexScanState *node,
399399
400400 /*
401401 * Write statistics straight into this worker's shared slot as the scan
402- * runs, rather than into worker-local memory copied out at shutdown.
403- * This has no write-side contention (one writer per slot) and lets the
404- * leader observe progress mid-query. The slot is not reset here: when
405- * workers are relaunched (e.g. a rescanned Gather) the counts accumulate
406- * across rounds.
402+ * runs, rather than into worker-local memory copied out at shutdown. This
403+ * has no write-side contention (one writer per slot) and lets the leader
404+ * observe progress mid-query. The slot is not reset here: when workers
405+ * are relaunched (e.g. a rescanned Gather) the counts accumulate across
406+ * rounds.
407407 */
408408 Assert (ParallelWorkerNumber < node -> biss_SharedInfo -> num_workers );
409409 pfree (node -> biss_Instrument );
@@ -414,8 +414,8 @@ ExecBitmapIndexScanInitializeWorker(BitmapIndexScanState *node,
414414 /*
415415 * Unlike a plain index scan, the bitmap index scan descriptor is created
416416 * eagerly in ExecInitBitmapIndexScan, before this runs, and it captured a
417- * pointer to the now-freed local instrumentation. Repoint it at the shared
418- * slot so the AM writes there (and not into freed memory).
417+ * pointer to the now-freed local instrumentation. Repoint it at the
418+ * shared slot so the AM writes there (and not into freed memory).
419419 */
420420 if (node -> biss_ScanDesc != NULL )
421421 node -> biss_ScanDesc -> instrument = node -> biss_Instrument ;
0 commit comments