diff options
author | Tom Lane | 2001-03-27 17:12:34 +0000 |
---|---|---|
committer | Tom Lane | 2001-03-27 17:12:34 +0000 |
commit | fa0f2c6577098112ea37bf445615250ec1162f4e (patch) | |
tree | 5cd34a5477ff9d53aabdbd945ea4711842b0c605 /src | |
parent | ec12e80019ea61d7f85bcf143cba2bc397fd512f (diff) |
Repair pgindent damage to comments.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/optimizer/util/clauses.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/backend/optimizer/util/clauses.c b/src/backend/optimizer/util/clauses.c index 83d2468b02c..8bd6ef6f68b 100644 --- a/src/backend/optimizer/util/clauses.c +++ b/src/backend/optimizer/util/clauses.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.83 2001/03/22 03:59:39 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.84 2001/03/27 17:12:34 tgl Exp $ * * HISTORY * AUTHOR DATE MAJOR EVENT @@ -939,7 +939,6 @@ is_single_func(Node *node) * * If the clause is not of the form (var op var) or if any of the vars * refer to nested attributes, then zeroes are returned. - * */ void get_rels_atts(Node *clause, @@ -1311,14 +1310,16 @@ eval_const_expressions_mutator(Node *node, void *context) if (IsA(node, CaseExpr)) { - /* + /*---------- * CASE expressions can be simplified if there are constant - * condition clauses: FALSE (or NULL): drop the alternative TRUE: - * drop all remaining alternatives If the first non-FALSE - * alternative is a constant TRUE, we can simplify the entire CASE - * to that alternative's expression. If there are no non-FALSE - * alternatives, we simplify the entire CASE to the default result - * (ELSE result). + * condition clauses: + * FALSE (or NULL): drop the alternative + * TRUE: drop all remaining alternatives + * If the first non-FALSE alternative is a constant TRUE, we can + * simplify the entire CASE to that alternative's expression. + * If there are no non-FALSE alternatives, we simplify the entire + * CASE to the default result (ELSE result). + *---------- */ CaseExpr *caseexpr = (CaseExpr *) node; CaseExpr *newcase; |