mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
cleanups
This commit is contained in:
parent
7729ba073d
commit
dc02fd709f
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.53 1999/02/22 05:26:19 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.54 1999/03/18 19:59:53 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -597,7 +597,6 @@ match_clause_to_indexkey(RelOptInfo *rel,
|
|||||||
*/
|
*/
|
||||||
if (!join)
|
if (!join)
|
||||||
{
|
{
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check for standard s-argable clause
|
* Check for standard s-argable clause
|
||||||
*/
|
*/
|
||||||
@ -736,7 +735,6 @@ match_clause_to_indexkey(RelOptInfo *rel,
|
|||||||
if (rightop
|
if (rightop
|
||||||
&& match_index_to_operand(indexkey, (Expr *) rightop, rel, index))
|
&& match_index_to_operand(indexkey, (Expr *) rightop, rel, index))
|
||||||
{
|
{
|
||||||
|
|
||||||
join_op = get_commutator(((Oper *) ((Expr *) clause)->oper)->opno);
|
join_op = get_commutator(((Oper *) ((Expr *) clause)->oper)->opno);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.27 1999/03/08 14:01:57 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.28 1999/03/18 19:59:54 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -579,7 +579,7 @@ IndexSelectivity(Oid indexrelid,
|
|||||||
|
|
||||||
amopTuple = SearchSysCacheTuple(AMOPOPID,
|
amopTuple = SearchSysCacheTuple(AMOPOPID,
|
||||||
ObjectIdGetDatum(indclass),
|
ObjectIdGetDatum(indclass),
|
||||||
ObjectIdGetDatum(operatorObjectIds[n]),
|
ObjectIdGetDatum(operatorObjectIds[n]),
|
||||||
ObjectIdGetDatum(relam),
|
ObjectIdGetDatum(relam),
|
||||||
0);
|
0);
|
||||||
if (!HeapTupleIsValid(amopTuple))
|
if (!HeapTupleIsValid(amopTuple))
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.25 1999/02/13 23:19:32 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.26 1999/03/18 19:59:55 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -437,7 +437,6 @@ btreenpage(Oid operatorObjectId,
|
|||||||
|
|
||||||
if (FunctionalSelectivity(nIndexKeys, attributeNumber))
|
if (FunctionalSelectivity(nIndexKeys, attributeNumber))
|
||||||
{
|
{
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Need to call the functions selectivity function here. For now
|
* Need to call the functions selectivity function here. For now
|
||||||
* simply assume it's 1/3 since functions don't currently have
|
* simply assume it's 1/3 since functions don't currently have
|
||||||
|
Loading…
x
Reference in New Issue
Block a user