Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfa0f2c6

Browse files
committed
Repair pgindent damage to comments.
1 parentec12e80 commitfa0f2c6

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

‎src/backend/optimizer/util/clauses.c

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.83 2001/03/22 03:59:39 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.84 2001/03/27 17:12:34 tgl Exp $
1212
*
1313
* HISTORY
1414
* AUTHORDATEMAJOR EVENT
@@ -939,7 +939,6 @@ is_single_func(Node *node)
939939
*
940940
* If the clause is not of the form (var op var) or if any of the vars
941941
* refer to nested attributes, then zeroes are returned.
942-
*
943942
*/
944943
void
945944
get_rels_atts(Node*clause,
@@ -1311,14 +1310,16 @@ eval_const_expressions_mutator(Node *node, void *context)
13111310
if (IsA(node,CaseExpr))
13121311
{
13131312

1314-
/*
1313+
/*----------
13151314
* CASE expressions can be simplified if there are constant
1316-
* condition clauses: FALSE (or NULL): drop the alternative TRUE:
1317-
* drop all remaining alternatives If the first non-FALSE
1318-
* alternative is a constant TRUE, we can simplify the entire CASE
1319-
* to that alternative's expression. If there are no non-FALSE
1320-
* alternatives, we simplify the entire CASE to the default result
1321-
* (ELSE result).
1315+
* condition clauses:
1316+
*FALSE (or NULL): drop the alternative
1317+
*TRUE: drop all remaining alternatives
1318+
* If the first non-FALSE alternative is a constant TRUE, we can
1319+
* simplify the entire CASE to that alternative's expression.
1320+
* If there are no non-FALSE alternatives, we simplify the entire
1321+
* CASE to the default result (ELSE result).
1322+
*----------
13221323
*/
13231324
CaseExpr*caseexpr= (CaseExpr*)node;
13241325
CaseExpr*newcase;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp