Repair pgindent damage to comments.

This commit is contained in:
Tom Lane 2001-03-27 17:12:34 +00:00
parent ec12e80019
commit fa0f2c6577

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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 * HISTORY
* AUTHOR DATE MAJOR EVENT * 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 * 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. * refer to nested attributes, then zeroes are returned.
*
*/ */
void void
get_rels_atts(Node *clause, get_rels_atts(Node *clause,
@ -1311,14 +1310,16 @@ eval_const_expressions_mutator(Node *node, void *context)
if (IsA(node, CaseExpr)) if (IsA(node, CaseExpr))
{ {
/* /*----------
* CASE expressions can be simplified if there are constant * CASE expressions can be simplified if there are constant
* condition clauses: FALSE (or NULL): drop the alternative TRUE: * condition clauses:
* drop all remaining alternatives If the first non-FALSE * FALSE (or NULL): drop the alternative
* alternative is a constant TRUE, we can simplify the entire CASE * TRUE: drop all remaining alternatives
* to that alternative's expression. If there are no non-FALSE * If the first non-FALSE alternative is a constant TRUE, we can
* alternatives, we simplify the entire CASE to the default result * simplify the entire CASE to that alternative's expression.
* (ELSE result). * If there are no non-FALSE alternatives, we simplify the entire
* CASE to the default result (ELSE result).
*----------
*/ */
CaseExpr *caseexpr = (CaseExpr *) node; CaseExpr *caseexpr = (CaseExpr *) node;
CaseExpr *newcase; CaseExpr *newcase;