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

Commit3aff401

Browse files
committed
Remove gram problems with archive.
1 parent91742c5 commit3aff401

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎src/backend/parser/gram.y

Lines changed: 3 additions & 4 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 1.70 1997/11/21 18:10:49 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.71 1997/11/24 16:55:22 momjian Exp $
1414
*
1515
* HISTORY
1616
* AUTHORDATEMAJOR EVENT
@@ -196,7 +196,7 @@ static Node *makeIndexable(char *opname, Node *lexpr, Node *rexpr);
196196

197197
%type <ival>Iconst
198198
%type <str>Sconst
199-
%type <str>Id,date,var_value, zone_value
199+
%type <str>Id, var_value, zone_value
200200
%type <str>ColId, ColLabel
201201

202202
%type <constrdef>ConstraintElem, ConstraintDef
@@ -224,7 +224,7 @@ static Node *makeIndexable(char *opname, Node *lexpr, Node *rexpr);
224224
*/
225225

226226
/* Keywords (in SQL92 reserved words) */
227-
%tokenACTION, ADD, ALL, ALTER, AND, AS, ASC,
227+
%tokenACTION, ADD, ALL, ALTER, AND,ARCHIVE,AS, ASC,
228228
BEGIN_TRANS, BETWEEN, BOTH, BY,
229229
CASCADE, CAST, CHAR, CHARACTER, CHECK, CLOSE, COLLATE, COLUMN, COMMIT,
230230
CONSTRAINT, CREATE, CROSS, CURRENT, CURRENT_DATE, CURRENT_TIME,
@@ -3278,7 +3278,6 @@ index_name:ColId{ $$ = $1; };
32783278
*/
32793279
name:ColId{ $$ = $1; };
32803280

3281-
date:Sconst{ $$ = $1; };
32823281
file_name:Sconst{ $$ = $1; };
32833282
recipe_name:Id{ $$ = $1; };
32843283

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp