diff options
| author | Peter Geoghegan | 2023-04-03 18:01:11 +0000 |
|---|---|---|
| committer | Peter Geoghegan | 2023-04-03 18:01:11 +0000 |
| commit | a349b86603e11bad811bec111ec5330b9908e525 (patch) | |
| tree | 395d33ecde5b7412c7b1f89066ae6087ba99913a /src/include | |
| parent | e7e7da2f8d57bbe6c8fb463a9eec51486000ba2e (diff) | |
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
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/access/genam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/genam.h b/src/include/access/genam.h index a939a7353e..a308795665 100644 --- a/src/include/access/genam.h +++ b/src/include/access/genam.h @@ -44,13 +44,13 @@ typedef struct IndexBuildResult typedef struct IndexVacuumInfo { Relation index; /* the index being vacuumed */ + Relation heaprel; /* the heap relation the index belongs to */ bool analyze_only; /* ANALYZE (without any actual vacuum) */ bool report_progress; /* emit progress.h status reports */ bool estimated_count; /* num_heap_tuples is an estimate */ int message_level; /* ereport level for progress messages */ double num_heap_tuples; /* tuples remaining in heap */ BufferAccessStrategy strategy; /* access strategy for reads */ - Relation heaprel; /* the heap relation the index belongs to */ } IndexVacuumInfo; /* |
