mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Move heaprel struct field next to index rel field.
Commit 61b313e4 added a heaprel struct member to IndexVacuumInfo, but
placed it last. Move the heaprel struct member next to the index struct
member to improve the code's readability.
Author: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/CAH2-WznG=TV6S9d3VA=y0vBHbXwnLs9_LLdiML=aNJuHeriwxg@mail.gmail.com
This commit is contained in:
@@ -836,13 +836,13 @@ parallel_vacuum_process_one_index(ParallelVacuumState *pvs, Relation indrel,
|
||||
istat = &(indstats->istat);
|
||||
|
||||
ivinfo.index = indrel;
|
||||
ivinfo.heaprel = pvs->heaprel;
|
||||
ivinfo.analyze_only = false;
|
||||
ivinfo.report_progress = false;
|
||||
ivinfo.message_level = DEBUG2;
|
||||
ivinfo.estimated_count = pvs->shared->estimated_count;
|
||||
ivinfo.num_heap_tuples = pvs->shared->reltuples;
|
||||
ivinfo.strategy = pvs->bstrategy;
|
||||
ivinfo.heaprel = pvs->heaprel;
|
||||
|
||||
/* Update error traceback information */
|
||||
pvs->indname = pstrdup(RelationGetRelationName(indrel));
|
||||
|
||||
Reference in New Issue
Block a user