Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit38f4f67

Browse files
committed
Allow update x =-3, not just x = -3.
1 parent326d156 commit38f4f67

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/parser/scan.l

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.10 1997/02/19 20:10:38 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.11 1997/02/28 13:25:16 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -67,9 +67,10 @@ identifier{letter}{letter_or_digit}*
6767

6868
self[,()\[\].;$\:\+\-\*\/\<\>\=\|]
6969
op_and_self[\~\!\@\#\%\^\&\|\`\?\$\:\+\-\*\/\<\>\=]
70+
op_and_self2[\~\!\@\#\%\^\&\|\`\?\$\:\*\/\<\>\=]
7071
op_only[\~\!\@\#\%\^\&\`\?]
7172

72-
operator({op_and_self}{op_and_self}+)|{op_only}+
73+
operator({op_and_self}{op_and_self2}+)|{op_only}+
7374
/* we used to allow double-quoted strings, but SQL doesn't */
7475
/* so we won't either*/
7576
quote '

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp