@@ -390,7 +390,7 @@ static void update_index_statistics(Relation *Irel, IndexBulkDeleteResult **stat
390
390
static LVParallelState * begin_parallel_vacuum (Oid relid , Relation * Irel ,
391
391
LVRelStats * vacrelstats , BlockNumber nblocks ,
392
392
int nindexes , int nrequested );
393
- static void end_parallel_vacuum (Relation * Irel , IndexBulkDeleteResult * * stats ,
393
+ static void end_parallel_vacuum (IndexBulkDeleteResult * * stats ,
394
394
LVParallelState * lps , int nindexes );
395
395
static LVSharedIndStats * get_indstats (LVShared * lvshared , int n );
396
396
static bool skip_parallel_vacuum_index (Relation indrel , LVShared * lvshared );
@@ -1712,7 +1712,7 @@ lazy_scan_heap(Relation onerel, VacuumParams *params, LVRelStats *vacrelstats,
1712
1712
* during parallel mode.
1713
1713
*/
1714
1714
if (ParallelVacuumIsActive (lps ))
1715
- end_parallel_vacuum (Irel , indstats , lps , nindexes );
1715
+ end_parallel_vacuum (indstats , lps , nindexes );
1716
1716
1717
1717
/* Update index statistics */
1718
1718
update_index_statistics (Irel , indstats , nindexes );
@@ -3361,8 +3361,8 @@ begin_parallel_vacuum(Oid relid, Relation *Irel, LVRelStats *vacrelstats,
3361
3361
* context, but that won't be safe (see ExitParallelMode).
3362
3362
*/
3363
3363
static void
3364
- end_parallel_vacuum (Relation * Irel , IndexBulkDeleteResult * * stats ,
3365
- LVParallelState * lps , int nindexes )
3364
+ end_parallel_vacuum (IndexBulkDeleteResult * * stats , LVParallelState * lps ,
3365
+ int nindexes )
3366
3366
{
3367
3367
int i ;
3368
3368
0 commit comments