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

Commit5f76804

Browse files
committed
Correctly initialize newly added struct member
Valgrind was rightly complaining that IndexVacuumInfo->report_progress(added by commitab0dfc9) was not being initialized in some codepaths. Repair.Per buildfarm member lousyjack.
1 parente8abf97 commit5f76804

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/backend/access/heap/vacuumlazy.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,6 +1717,7 @@ lazy_vacuum_index(Relation indrel,
17171717

17181718
ivinfo.index=indrel;
17191719
ivinfo.analyze_only= false;
1720+
ivinfo.report_progress= false;
17201721
ivinfo.estimated_count= true;
17211722
ivinfo.message_level=elevel;
17221723
/* We can only provide an approximate value of num_heap_tuples here */
@@ -1749,6 +1750,7 @@ lazy_cleanup_index(Relation indrel,
17491750

17501751
ivinfo.index=indrel;
17511752
ivinfo.analyze_only= false;
1753+
ivinfo.report_progress= false;
17521754
ivinfo.estimated_count= (vacrelstats->tupcount_pages<vacrelstats->rel_pages);
17531755
ivinfo.message_level=elevel;
17541756

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp