aboutsummaryrefslogtreecommitdiff
path: root/src/backend/optimizer/plan/createplan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/optimizer/plan/createplan.c')
-rw-r--r--src/backend/optimizer/plan/createplan.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/backend/optimizer/plan/createplan.c b/src/backend/optimizer/plan/createplan.c
index ccde0f81ea9..af1e1275a04 100644
--- a/src/backend/optimizer/plan/createplan.c
+++ b/src/backend/optimizer/plan/createplan.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.33 1998/11/22 10:48:43 vadim Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.34 1998/12/04 15:34:05 thomas Exp $
*
*-------------------------------------------------------------------------
*/
@@ -437,7 +437,7 @@ create_nestloop_node(JoinPath *best_path,
* used in the inner scan path, so we need only consider the first
* set of qualifications in indxqual.
*
- * But there may be more than one clauses in this "first set" in the
+ * But there may be more than one clause in this "first set" in the
* case of multi-column indices. - vadim 03/18/97
*/
@@ -735,6 +735,11 @@ fix_indxqual_references(Node *clause, Path *index_path)
else
return clause;
}
+ else if (IsA(clause, CaseExpr))
+ {
+ elog(NOTICE,"optimizer: fix_indxqual_references sees CaseExpr");
+ return clause;
+ }
else
{
List *oldclauses = (List *) clause;