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

Commitddd50c4

Browse files
committed
cleanup of grammer.
1 parent30ad427 commitddd50c4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/backend/parser/gram.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
*
243243
*
244244
* IDENTIFICATION
245-
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.83 1999/03/1821:39:51 momjian Exp $
245+
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.84 1999/03/1822:01:50 momjian Exp $
246246
*
247247
* HISTORY
248248
* AUTHORDATEMAJOR EVENT
@@ -1506,7 +1506,7 @@ static const short yypact[] = { 3123,
15061506
7047,255,-32768,513,14408,7927,62,-32768,-32768,15419,
15071507
11074,866,959,-32768,41,757,758,263,771,-32768,
15081508
-32768,-32768,776,941,778,92,205,901,936,-32768,
1509-
10883,186,267,780,783,791,793,9687,9687,9687,
1509+
10883,575,267,780,783,791,793,9687,9687,9687,
15101510
9687,794,340,513,799,-32768,-27,-13,802,872,
15111511
7267,8147,7267,7267,11166,-72,804,11057,-32768,1152,
15121512
7927,798,784,809,-32768,-32768,-32768,-32768,-32768,-32768,

‎src/backend/parser/gram.y

Lines changed: 3 additions & 3 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.63 1999/03/1821:39:56 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.64 1999/03/1822:01:56 momjian Exp $
1414
*
1515
* HISTORY
1616
* AUTHORDATEMAJOR EVENT
@@ -316,7 +316,7 @@ Oidparam_type(int t); /* used in parse_expr.c */
316316
MAXVALUE, MINVALUE, MOVE,
317317
NEW, NOCREATEDB, NOCREATEUSER, NONE, NOTHING, NOTIFY, NOTNULL,
318318
OFFSET, OIDS, OPERATOR, PASSWORD, PROCEDURAL,
319-
RECIPE,RENAME, RESET, RETURNS, ROW, RULE,
319+
RENAME, RESET, RETURNS, ROW, RULE,
320320
SEQUENCE, SERIAL, SETOF, SHOW, START, STATEMENT, STDIN, STDOUT, TRUSTED,
321321
UNLISTEN, UNTIL, VACUUM, VALID, VERBOSE, VERSION
322322

@@ -3715,7 +3715,7 @@ a_expr: attr opt_indirection
37153715
/* We allow this for standards-broken SQL products, like MS stuff */
37163716
| a_expr '=' NULL_P
37173717
{$$ = makeA_Expr(ISNULL, NULL, $1, NULL); }
3718-
| NULL_P '='%prec '-' a_expr
3718+
| NULL_P '='a_expr /* we need to fix the shift/reduce */
37193719
{$$ = makeA_Expr(ISNULL, NULL, $3, NULL); }
37203720

37213721
| a_expr '=' a_expr

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp