*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.686 2009/10/14 22:14:22 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.687 2009/11/04 23:15:08 tgl Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
n->agg_distinct = FALSE;
n->func_variadic = FALSE;
n->over = NULL;
- n->location = @4;
+ n->location = @2;
$$ = (Node *) makeSimpleA_Expr(AEXPR_OP, "~~", $1, (Node *) n, @2);
}
| a_expr NOT LIKE a_expr
n->agg_distinct = FALSE;
n->func_variadic = FALSE;
n->over = NULL;
- n->location = @5;
+ n->location = @2;
$$ = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~~", $1, (Node *) n, @2);
}
| a_expr ILIKE a_expr
n->agg_distinct = FALSE;
n->func_variadic = FALSE;
n->over = NULL;
- n->location = @4;
+ n->location = @2;
$$ = (Node *) makeSimpleA_Expr(AEXPR_OP, "~~*", $1, (Node *) n, @2);
}
| a_expr NOT ILIKE a_expr
n->agg_distinct = FALSE;
n->func_variadic = FALSE;
n->over = NULL;
- n->location = @5;
+ n->location = @2;
$$ = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~~*", $1, (Node *) n, @2);
}
n->agg_distinct = FALSE;
n->func_variadic = FALSE;
n->over = NULL;
- n->location = @5;
+ n->location = @2;
$$ = (Node *) makeSimpleA_Expr(AEXPR_OP, "~", $1, (Node *) n, @2);
}
| a_expr NOT SIMILAR TO a_expr %prec SIMILAR
n->agg_distinct = FALSE;
n->func_variadic = FALSE;
n->over = NULL;
- n->location = @5;
+ n->location = @2;
$$ = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~", $1, (Node *) n, @2);
}
| a_expr NOT SIMILAR TO a_expr ESCAPE a_expr
n->agg_distinct = FALSE;
n->func_variadic = FALSE;
n->over = NULL;
- n->location = @6;
+ n->location = @2;
$$ = (Node *) makeSimpleA_Expr(AEXPR_OP, "!~", $1, (Node *) n, @2);
}