From be76af171cdb3e7465c4ef234af403f97ad79b7b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 22 May 2019 12:55:34 -0400 Subject: 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 --- src/backend/optimizer/path/clausesel.c | 6 +++--- src/backend/optimizer/util/inherit.c | 1 + src/backend/optimizer/util/pathnode.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/backend/optimizer') diff --git a/src/backend/optimizer/path/clausesel.c b/src/backend/optimizer/path/clausesel.c index 9dae586a518..bfad6b79878 100644 --- a/src/backend/optimizer/path/clausesel.c +++ b/src/backend/optimizer/path/clausesel.c @@ -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) diff --git a/src/backend/optimizer/util/inherit.c b/src/backend/optimizer/util/inherit.c index ccc8c11a985..bbf204ddfb8 100644 --- a/src/backend/optimizer/util/inherit.c +++ b/src/backend/optimizer/util/inherit.c @@ -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. */ diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c index 36aee35d462..d66471c7a46 100644 --- a/src/backend/optimizer/util/pathnode.c +++ b/src/backend/optimizer/util/pathnode.c @@ -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) -- cgit v1.2.3