Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 333323f

Browse files
committed
Fix vacuum analyze syntax problem.
1 parent 899326a commit 333323f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/parser/gram.y

+4-4
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.74 1997/12/02 02:54:15 thomas Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.75 1997/12/02 16:09:15 momjian Exp $
1414
*
1515
* HISTORY
1616
* AUTHOR DATE MAJOR EVENT
@@ -1803,12 +1803,12 @@ VacuumStmt: VACUUM opt_verbose opt_analyze
18031803
n->va_spec = NIL;
18041804
$$ = (Node *)n;
18051805
}
1806-
| VACUUM opt_verbose relation_name opt_analyze opt_va_list
1806+
| VACUUM opt_verbose opt_analyze relation_name opt_va_list
18071807
{
18081808
VacuumStmt *n = makeNode(VacuumStmt);
18091809
n->verbose = $2;
1810-
n->analyze = $4;
1811-
n->vacrel = $3;
1810+
n->analyze = $3;
1811+
n->vacrel = $4;
18121812
n->va_spec = $5;
18131813
if ( $5 != NIL && !$4 )
18141814
elog(WARN,"parser: syntax error at or near \"(\"",NULL);

0 commit comments

Comments
 (0)