diff options
Diffstat (limited to 'src/backend/access/gist/giststrat.c')
-rw-r--r-- | src/backend/access/gist/giststrat.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/backend/access/gist/giststrat.c b/src/backend/access/gist/giststrat.c index 31ef31dedf7..e0bae48a3c4 100644 --- a/src/backend/access/gist/giststrat.c +++ b/src/backend/access/gist/giststrat.c @@ -3,21 +3,21 @@ * giststrat.c * strategy map data for GiSTs. * + * * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * * IDENTIFICATION - * /usr/local/devel/pglite/cvs/src/backend/access/gist/giststrat.c,v 1.4 1995/06/14 00:10:05 jolly Exp + * $Header: /cvsroot/pgsql/src/backend/access/gist/Attic/giststrat.c,v 1.17 2001/05/30 19:53:40 tgl Exp $ * *------------------------------------------------------------------------- */ - #include "postgres.h" #include "access/gist.h" #include "access/istrat.h" + /* * Note: negate, commute, and negatecommute all assume that operators are * ordered as follows in the strategy map: @@ -71,6 +71,12 @@ static StrategyNumber GISTNegateCommute[GISTNStrategies] = { * TermData) -- such logic must be encoded in the user's Consistent function. */ +static StrategyExpression GISTEvaluationExpressions[GISTNStrategies] = { + NULL, + NULL, + NULL +}; + /* * If you were sufficiently attentive to detail, you would go through * the ExpressionData pain above for every one of the strategies @@ -92,9 +98,10 @@ static StrategyEvaluationData GISTEvaluationData = { (StrategyTransformMap) GISTNegate, /* how to do (not qual) */ (StrategyTransformMap) GISTCommute, /* how to swap operands */ (StrategyTransformMap) GISTNegateCommute, /* how to do both */ - {NULL} + GISTEvaluationExpressions }; + StrategyNumber RelationGetGISTStrategy(Relation r, AttrNumber attnum, |