mirror of
https://github.com/postgres/postgres.git
synced 2025-12-07 12:02:30 +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:
@@ -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;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user