diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 1997-05-22 16:09:57 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 1997-05-22 16:09:57 +0000 |
commit | 12d9a12eda9d786b155cacdc81ff56b0c33ab014 (patch) | |
tree | 3e66a6450ff0c1bb78c40d6b3db9a1dec902b381 /src/include/access/gist.h | |
parent | 737ab85cc08c888d8f8817073909ec0ecdf62d18 (diff) | |
download | postgresql-12d9a12eda9d786b155cacdc81ff56b0c33ab014.tar.gz postgresql-12d9a12eda9d786b155cacdc81ff56b0c33ab014.zip |
gist.h:
/*
** You can have as many strategies as you please in GiSTs, as
** long as your consistent method can handle them
*/
#define GISTNStrategies 100
^^^
- too big number:
strat.h->StrategyEvaluationData->StrategyExpression expression[12]
^^
- so 12 is real max # of strategies, or StrategyEvaluationIsValid
crashes backend (called if CASSER defined).
Diffstat (limited to 'src/include/access/gist.h')
-rw-r--r-- | src/include/access/gist.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h index e49a988176d..1fc4a7112b0 100644 --- a/src/include/access/gist.h +++ b/src/include/access/gist.h @@ -24,9 +24,16 @@ /* ** You can have as many strategies as you please in GiSTs, as ** long as your consistent method can handle them -*/ +** +** But strat.h->StrategyEvaluationData->StrategyExpression expression[12] +** - so 12 is real max # of strategies, or StrategyEvaluationIsValid +** crashes backend... - vadim 05/21/97 + #define GISTNStrategies 100 +*/ +#define GISTNStrategies 12 + /* ** Helper routines */ |