Commit 333323f3 authored by Bruce Momjian's avatar Bruce Momjian

Fix vacuum analyze syntax problem.

parent 899326a7
......@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.74 1997/12/02 02:54:15 thomas Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.75 1997/12/02 16:09:15 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
......@@ -1803,12 +1803,12 @@ VacuumStmt: VACUUM opt_verbose opt_analyze
n->va_spec = NIL;
$$ = (Node *)n;
}
| VACUUM opt_verbose relation_name opt_analyze opt_va_list
| VACUUM opt_verbose opt_analyze relation_name opt_va_list
{
VacuumStmt *n = makeNode(VacuumStmt);
n->verbose = $2;
n->analyze = $4;
n->vacrel = $3;
n->analyze = $3;
n->vacrel = $4;
n->va_spec = $5;
if ( $5 != NIL && !$4 )
elog(WARN,"parser: syntax error at or near \"(\"",NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment