File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/backend/optimizer/util Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.5 1996/11/30 17:48:52 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.6 1997/01/22 06:30:57 vadim Exp $
11
11
*
12
12
* HISTORY
13
13
* AUTHOR DATE MAJOR EVENT
@@ -649,6 +649,14 @@ get_relattval(Node *clause,
649
649
* constval = 0 ;
650
650
* flag = (_SELEC_NOT_CONSTANT_ );
651
651
}
652
+ #ifdef INDEXSCAN_PATCH
653
+ } else if (is_opclause (clause ) && IsA (right ,Var ) && IsA (left ,Param )) {
654
+ /* ...And here... - vadim 01/22/97 */
655
+ * relid = right -> varno ;
656
+ * attno = right -> varattno ;
657
+ * constval = 0 ;
658
+ * flag = (_SELEC_NOT_CONSTANT_ );
659
+ #endif
652
660
} else {
653
661
/* One or more of the operands are expressions
654
662
* (e.g., oper clauses)
You can’t perform that action at this time.
0 commit comments