|
10 | 10 | * |
11 | 11 | * |
12 | 12 | * IDENTIFICATION |
13 | | - * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.24 1997/01/13 03:44:18 momjian Exp $ |
| 13 | + * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.25 1997/01/16 14:56:05 momjian Exp $ |
14 | 14 | * |
15 | 15 | * HISTORY |
16 | 16 | * AUTHORDATEMAJOR EVENT |
@@ -131,7 +131,7 @@ static Node *makeA_Expr(int oper, char *opname, Node *lexpr, Node *rexpr); |
131 | 131 | sort_clause, sortby_list, index_params, |
132 | 132 | name_list, from_clause, from_list, opt_array_bounds, nest_array_bounds, |
133 | 133 | expr_list, attrs, res_target_list, res_target_list2, |
134 | | -def_list, opt_indirection, group_clause, groupby_list, explain_options |
| 134 | +def_list, opt_indirection, group_clause, groupby_list |
135 | 135 |
|
136 | 136 | %type <boolean>opt_inh_star, opt_binary, opt_instead, opt_with_copy, |
137 | 137 | index_opt_unique, opt_verbose |
@@ -1227,21 +1227,15 @@ opt_verbose: VERBOSE{ $$ = TRUE; } |
1227 | 1227 | * |
1228 | 1228 | *****************************************************************************/ |
1229 | 1229 |
|
1230 | | -ExplainStmt: EXPLAINexplain_options OptimizableStmt |
| 1230 | +ExplainStmt: EXPLAINopt_verbose OptimizableStmt |
1231 | 1231 | { |
1232 | 1232 | ExplainStmt *n = makeNode(ExplainStmt); |
| 1233 | + n->verbose = $2; |
1233 | 1234 | n->query = (Query*)$3; |
1234 | | - n->options = $2; |
1235 | 1235 | $$ = (Node *)n; |
1236 | 1236 | } |
1237 | 1237 | ; |
1238 | 1238 |
|
1239 | | -explain_options: WITH name_list |
1240 | | -{ $$ = $2; } |
1241 | | -| /*EMPTY*/ |
1242 | | -{ $$ = NIL; } |
1243 | | -; |
1244 | | - |
1245 | 1239 | /***************************************************************************** |
1246 | 1240 | * * |
1247 | 1241 | *Optimizable Stmts: * |
|