diff options
| author | Bruce Momjian <bruce@momjian.us> | 2001-03-23 04:49:58 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2001-03-23 04:49:58 +0000 |
| commit | 7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe (patch) | |
| tree | 21c9d56c3701e984573ecc3ff40e72c0f63d5baf /src/backend/optimizer | |
| parent | 4e911c847ce906094df6595700571b714d3bb537 (diff) | |
| download | postgresql-7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe.tar.gz | |
Fix comments that were mis-wrapped, for Tom Lane.
Diffstat (limited to 'src/backend/optimizer')
| -rw-r--r-- | src/backend/optimizer/path/clausesel.c | 18 | ||||
| -rw-r--r-- | src/backend/optimizer/path/indxpath.c | 9 |
2 files changed, 16 insertions, 11 deletions
diff --git a/src/backend/optimizer/path/clausesel.c b/src/backend/optimizer/path/clausesel.c index 8493067f9a..2699b56cb3 100644 --- a/src/backend/optimizer/path/clausesel.c +++ b/src/backend/optimizer/path/clausesel.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/path/clausesel.c,v 1.42 2001/03/22 03:59:34 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/path/clausesel.c,v 1.43 2001/03/23 04:49:53 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -297,9 +297,11 @@ addRangeClause(RangeQueryClause **rqlist, Node *clause, else { - /* - * We have found two similar clauses, such as x < y AND x - * < z. Keep only the more restrictive one. + /*------ + * We have found two similar clauses, such as + * x < y AND x < z. + * Keep only the more restrictive one. + *------ */ if (rqelem->lobound > s2) rqelem->lobound = s2; @@ -315,9 +317,11 @@ addRangeClause(RangeQueryClause **rqlist, Node *clause, else { - /* - * We have found two similar clauses, such as x > y AND x - * > z. Keep only the more restrictive one. + /*------ + * We have found two similar clauses, such as + * x > y AND x > z. + * Keep only the more restrictive one. + *------ */ if (rqelem->hibound > s2) rqelem->hibound = s2; diff --git a/src/backend/optimizer/path/indxpath.c b/src/backend/optimizer/path/indxpath.c index 064a2fafa5..ca19465c89 100644 --- a/src/backend/optimizer/path/indxpath.c +++ b/src/backend/optimizer/path/indxpath.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.103 2001/03/22 03:59:35 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.104 2001/03/23 04:49:53 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1986,9 +1986,10 @@ prefix_quals(Var *leftop, Oid expr_op, expr = make_opclause(op, leftop, (Var *) con); result = makeList1(expr); - /* - * If we can create a string larger than the prefix, we can say "x < - * greaterstr". + /*------- + * If we can create a string larger than the prefix, we can say + * "x < greaterstr". + *------- */ greaterstr = make_greater_string(prefix, datatype); if (greaterstr) |
