From: Tom Lane Date: Tue, 27 Mar 2001 17:12:34 +0000 (+0000) Subject: Repair pgindent damage to comments. X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=44292e6f17d3b6bd57c7b6520f0a48fff0c80ab7;p=users%2Fbernd%2Fpostgres.git Repair pgindent damage to comments. --- diff --git a/src/backend/optimizer/util/clauses.c b/src/backend/optimizer/util/clauses.c index 0a36e56155..21b1dedac9 100644 --- a/src/backend/optimizer/util/clauses.c +++ b/src/backend/optimizer/util/clauses.c @@ -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;