Skip to content

Commit 863db45

Browse files
committed
Make ^ precidence greater than *.
1 parent 7d23fc5 commit 863db45

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/parser/gram.y

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.87 1999/07/08 00:00:42 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.88 1999/07/09 21:59:59 momjian Exp $
1414
*
1515
* HISTORY
1616
* AUTHOR DATE MAJOR EVENT
@@ -349,7 +349,8 @@ Oid param_type(int t); /* used in parse_expr.c */
349349
%nonassoc NULL_P
350350
%nonassoc IS
351351
%left '+' '-'
352-
%left '*' '/' '%' '^'
352+
%left '*' '/' '%'
353+
%left '^'
353354
%left '|' /* this is the relation union op, not logical or */
354355
/* Unary Operators */
355356
%right ':'

0 commit comments

Comments
 (0)