mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Fix comments that were mis-wrapped, for Tom Lane.
This commit is contained in:
@ -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;
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user