Skip to content

Commit 231ef5b

Browse files
author
Amit Kapila
committed
Remove unused function parameter in end_parallel_vacuum.
Author: Vignesh C Reviewed-by: Sawada Masahiko Backpatch-through: 13, where it was introduced Discussion: https://postgr.es/m/CALDaNm3Ppt71NafGY5mk3V2i3Q+mm93pVibDq-0NpW7WU67Jcg@mail.gmail.com
1 parent 404b912 commit 231ef5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/access/heap/vacuumlazy.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ static void update_index_statistics(Relation *Irel, IndexBulkDeleteResult **stat
390390
static LVParallelState *begin_parallel_vacuum(Oid relid, Relation *Irel,
391391
LVRelStats *vacrelstats, BlockNumber nblocks,
392392
int nindexes, int nrequested);
393-
static void end_parallel_vacuum(Relation *Irel, IndexBulkDeleteResult **stats,
393+
static void end_parallel_vacuum(IndexBulkDeleteResult **stats,
394394
LVParallelState *lps, int nindexes);
395395
static LVSharedIndStats *get_indstats(LVShared *lvshared, int n);
396396
static bool skip_parallel_vacuum_index(Relation indrel, LVShared *lvshared);
@@ -1712,7 +1712,7 @@ lazy_scan_heap(Relation onerel, VacuumParams *params, LVRelStats *vacrelstats,
17121712
* during parallel mode.
17131713
*/
17141714
if (ParallelVacuumIsActive(lps))
1715-
end_parallel_vacuum(Irel, indstats, lps, nindexes);
1715+
end_parallel_vacuum(indstats, lps, nindexes);
17161716

17171717
/* Update index statistics */
17181718
update_index_statistics(Irel, indstats, nindexes);
@@ -3361,8 +3361,8 @@ begin_parallel_vacuum(Oid relid, Relation *Irel, LVRelStats *vacrelstats,
33613361
* context, but that won't be safe (see ExitParallelMode).
33623362
*/
33633363
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)
33663366
{
33673367
int i;
33683368

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy