mirror of
https://github.com/postgres/postgres.git
synced 2025-11-28 11:44:57 +03:00
Harmonize more parameter names in bulk.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in optimizer, parser, utility, libpq, and "commands" code, as well as in remaining library code. Do the same for all code related to frontend programs (with the exception of pg_dump/pg_dumpall related code). Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Later commits will handle ecpg and pg_dump/pg_dumpall. Author: Peter Geoghegan <pg@bowt.ie> Reviewed-By: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com
This commit is contained in:
@@ -117,7 +117,7 @@ extern void cost_incremental_sort(Path *path,
|
||||
double limit_tuples);
|
||||
extern Cost cost_sort_estimate(PlannerInfo *root, List *pathkeys,
|
||||
int nPresortedKeys, double tuples);
|
||||
extern void cost_append(AppendPath *path, PlannerInfo *root);
|
||||
extern void cost_append(AppendPath *apath, PlannerInfo *root);
|
||||
extern void cost_merge_append(Path *path, PlannerInfo *root,
|
||||
List *pathkeys, int n_streams,
|
||||
Cost input_startup_cost, Cost input_total_cost,
|
||||
@@ -169,7 +169,7 @@ extern void final_cost_hashjoin(PlannerInfo *root, HashPath *path,
|
||||
JoinCostWorkspace *workspace,
|
||||
JoinPathExtraData *extra);
|
||||
extern void cost_gather(GatherPath *path, PlannerInfo *root,
|
||||
RelOptInfo *baserel, ParamPathInfo *param_info, double *rows);
|
||||
RelOptInfo *rel, ParamPathInfo *param_info, double *rows);
|
||||
extern void cost_gather_merge(GatherMergePath *path, PlannerInfo *root,
|
||||
RelOptInfo *rel, ParamPathInfo *param_info,
|
||||
Cost input_startup_cost, Cost input_total_cost,
|
||||
|
||||
Reference in New Issue
Block a user