mirror of
https://github.com/postgres/postgres.git
synced 2025-09-06 13:46:51 +03:00
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent. I thought it would be good to commit this separately, so as to document the differences between 2.0 and 2.1 behavior. Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us
This commit is contained in:
@@ -161,9 +161,9 @@ clauselist_selectivity_simple(PlannerInfo *root,
|
||||
int listidx;
|
||||
|
||||
/*
|
||||
* If there's exactly one clause (and it was not estimated yet), just
|
||||
* go directly to clause_selectivity(). None of what we might do below
|
||||
* is relevant.
|
||||
* If there's exactly one clause (and it was not estimated yet), just go
|
||||
* directly to clause_selectivity(). None of what we might do below is
|
||||
* relevant.
|
||||
*/
|
||||
if ((list_length(clauses) == 1) &&
|
||||
bms_num_members(estimatedclauses) == 0)
|
||||
|
@@ -311,6 +311,7 @@ expand_partitioned_rtentry(PlannerInfo *root, RelOptInfo *relinfo,
|
||||
if (!root->partColsUpdated)
|
||||
root->partColsUpdated =
|
||||
has_partition_attrs(parentrel, parentrte->updatedCols, NULL);
|
||||
|
||||
/*
|
||||
* There shouldn't be any generated columns in the partition key.
|
||||
*/
|
||||
|
@@ -3621,7 +3621,7 @@ create_limit_path(PlannerInfo *root, RelOptInfo *rel,
|
||||
*/
|
||||
void
|
||||
adjust_limit_rows_costs(double *rows, /* in/out parameter */
|
||||
Cost *startup_cost, /* in/out parameter */
|
||||
Cost *startup_cost, /* in/out parameter */
|
||||
Cost *total_cost, /* in/out parameter */
|
||||
int64 offset_est,
|
||||
int64 count_est)
|
||||
|
Reference in New Issue
Block a user