Synced parser with backend

This commit is contained in:
Michael Meskes 2002-11-27 08:30:27 +00:00
parent c4439536e2
commit b4e334b6e6
2 changed files with 13 additions and 6 deletions

View File

@ -1314,3 +1314,8 @@ Thu Nov 7 10:34:07 CET 2002
Fri Nov 15 16:46:08 CET 2002
- Synced preproc.y with gram.y.
Wed Nov 27 09:28:54 CET 2002
- Synced preproc.y with gram.y.

View File

@ -1,4 +1,4 @@
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.202 2002/11/15 15:47:44 meskes Exp $ */
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.203 2002/11/27 08:30:27 meskes Exp $ */
/* Copyright comment */
%{
@ -1089,7 +1089,7 @@ opt_using: USING { $$ = make_str("using"); }
/*****************************************************************************
*
* QUERY :
* CREATE relname
* CREATE TABLE relname
*
*****************************************************************************/
@ -1444,6 +1444,8 @@ TriggerOneEvent: INSERT { $$ = make_str("insert"); }
TriggerForSpec: FOR TriggerForOpt TriggerForType
{ $$ = cat_str(3, make_str("for"), $2, $3); }
| /* EMPTY */
{ $$ = EMPTY; }
;
TriggerForOpt: EACH { $$ = make_str("each"); }
@ -2307,9 +2309,9 @@ CreateConversionStmt:
/*****************************************************************************
*
* QUERY:
* cluster <index_name> on <qualified_name>
* cluster <index_name> on <qualified_name>
* cluster <qualified_name>
* cluster ALL
* cluster
*
*****************************************************************************/
@ -2317,8 +2319,8 @@ ClusterStmt: CLUSTER index_name ON qualified_name
{ $$ = cat_str(4, make_str("cluster"), $2, make_str("on"), $4); }
| CLUSTER qualified_name
{ $$ = cat2_str(make_str("cluster"), $2); }
| CLUSTER ALL
{ $$ = make_str("cluster all"); }
| CLUSTER
{ $$ = make_str("cluster"); }
;