mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Implement CASE expression.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user