Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit231ef5b

Browse files
author
Amit Kapila
committed
Remove unused function parameter in end_parallel_vacuum.
Author: Vignesh CReviewed-by: Sawada MasahikoBackpatch-through: 13, where it was introducedDiscussion:https://postgr.es/m/CALDaNm3Ppt71NafGY5mk3V2i3Q+mm93pVibDq-0NpW7WU67Jcg@mail.gmail.com
1 parent404b912 commit231ef5b

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
staticLVParallelState*begin_parallel_vacuum(Oidrelid,Relation*Irel,
391391
LVRelStats*vacrelstats,BlockNumbernblocks,
392392
intnindexes,intnrequested);
393-
staticvoidend_parallel_vacuum(Relation*Irel,IndexBulkDeleteResult**stats,
393+
staticvoidend_parallel_vacuum(IndexBulkDeleteResult**stats,
394394
LVParallelState*lps,intnindexes);
395395
staticLVSharedIndStats*get_indstats(LVShared*lvshared,intn);
396396
staticboolskip_parallel_vacuum_index(Relationindrel,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
staticvoid
3364-
end_parallel_vacuum(Relation*Irel,IndexBulkDeleteResult**stats,
3365-
LVParallelState*lps,intnindexes)
3364+
end_parallel_vacuum(IndexBulkDeleteResult**stats,LVParallelState*lps,
3365+
intnindexes)
33663366
{
33673367
inti;
33683368

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp