summaryrefslogtreecommitdiff
path: root/src/backend/optimizer/path/indxpath.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-07-27 23:16:04 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-07-27 23:16:04 +0000
commitff7da2f49801e1e47ed116491f7bd6711946dc6a (patch)
treea64ddf4b2b7091a1a40d7ead648fd2f10eebf920 /src/backend/optimizer/path/indxpath.c
parentfaa41717280a51ca869ac8f44e1a3249cab9b1b5 (diff)
Make planner safe for recursive calls --- needed for cases where
eval_const_expressions tries to simplify an SQL function.
Diffstat (limited to 'src/backend/optimizer/path/indxpath.c')
-rw-r--r--src/backend/optimizer/path/indxpath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/optimizer/path/indxpath.c b/src/backend/optimizer/path/indxpath.c
index 068ba771ea8..a675963005d 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.89 2000/07/26 23:46:22 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.90 2000/07/27 23:15:56 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1153,7 +1153,7 @@ one_pred_clause_test(Expr *predicate, Node *clause)
* this test should always be considered false.
*/
-static StrategyNumber
+static const StrategyNumber
BT_implic_table[BTMaxStrategyNumber][BTMaxStrategyNumber] = {
{2, 2, 0, 0, 0},
{1, 2, 0, 0, 0},