mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +03:00
Rename apply_at to apply_agg_at for clarity
The field name "apply_at" in RelAggInfo was a bit ambiguous. Rename it to "apply_agg_at" to improve clarity and make its purpose clearer. Per complaint from David Rowley, Robert Haas. Suggested-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/CA+TgmoZ0KR2_XCWHy17=HHcQ3p2Mamc9c6Dnnhf1J6wPYFD9ng@mail.gmail.com
This commit is contained in:
@@ -1178,8 +1178,8 @@ typedef struct RelOptInfo
|
||||
* "group_clauses" and "group_exprs" are lists of SortGroupClauses and the
|
||||
* corresponding grouping expressions.
|
||||
*
|
||||
* "apply_at" tracks the set of relids at which partial aggregation is applied
|
||||
* in the paths of this grouped relation.
|
||||
* "apply_agg_at" tracks the set of relids at which partial aggregation is
|
||||
* applied in the paths of this grouped relation.
|
||||
*
|
||||
* "grouped_rows" is the estimated number of result tuples of the grouped
|
||||
* relation.
|
||||
@@ -1206,7 +1206,7 @@ typedef struct RelAggInfo
|
||||
List *group_exprs;
|
||||
|
||||
/* the set of relids partial aggregation is applied at */
|
||||
Relids apply_at;
|
||||
Relids apply_agg_at;
|
||||
|
||||
/* estimated number of result tuples */
|
||||
Cardinality grouped_rows;
|
||||
|
||||
Reference in New Issue
Block a user