OptTableElementList TableElementList OptInherit definition
OptTypedTableElementList TypedTableElementList
reloptions opt_reloptions
- OptWith distinct_clause opt_all_clause opt_definition func_args func_args_list
+ OptWith distinct_clause opt_definition func_args func_args_list
func_args_with_defaults func_args_with_defaults_list
aggr_args aggr_args_list
func_as createfunc_opt_list alterfunc_opt_list
%type <list> locked_rels_list
%type <boolean> all_or_distinct
-%type <node> join_outer join_qual
+%type <node> join_qual
%type <jtype> join_type
%type <list> extract_list overlay_list position_list
%type <boolean> copy_from opt_program
-%type <ival> opt_column event cursor_options opt_hold opt_set_data
+%type <ival> event cursor_options opt_hold opt_set_data
%type <objtype> object_type_any_name object_type_name object_type_name_on_any_name
drop_type_name
;
-opt_with: WITH {}
- | WITH_LA {}
- | /*EMPTY*/ {}
+opt_with: WITH
+ | WITH_LA
+ | /*EMPTY*/
;
/*
;
opt_using:
- USING {}
- | /*EMPTY*/ {}
+ USING
+ | /*EMPTY*/
;
/* new COPY option syntax */
}
;
-opt_by: BY {}
- | /* empty */ {}
+opt_by: BY
+ | /* empty */
;
NumericOnly:
;
opt_procedural:
- PROCEDURAL {}
- | /*EMPTY*/ {}
+ PROCEDURAL
+ | /*EMPTY*/
;
/*****************************************************************************
;
TriggerForOptEach:
- EACH {}
- | /*EMPTY*/ {}
+ EACH
+ | /*EMPTY*/
;
TriggerForType:
}
;
-from_in: FROM {}
- | IN_P {}
+from_in: FROM
+ | IN_P
;
-opt_from_in: from_in {}
- | /* EMPTY */ {}
+opt_from_in: from_in
+ | /* EMPTY */
;
}
;
-opt_column: COLUMN { $$ = COLUMN; }
- | /*EMPTY*/ { $$ = 0; }
+opt_column: COLUMN
+ | /*EMPTY*/
;
opt_set_data: SET DATA_P { $$ = 1; }
}
;
-opt_transaction: WORK {}
- | TRANSACTION {}
- | /*EMPTY*/ {}
+opt_transaction: WORK
+ | TRANSACTION
+ | /*EMPTY*/
;
transaction_mode_item:
* Though the equals sign doesn't match other WITH options, pg_dump uses
* equals for backward compatibility, and it doesn't seem worth removing it.
*/
-opt_equal: '=' {}
- | /*EMPTY*/ {}
+opt_equal: '='
+ | /*EMPTY*/
;
}
;
-opt_as: AS {}
- | /* EMPTY */ {}
+opt_as: AS
+ | /* EMPTY */
;
;
/* Use this if TIME or ORDINALITY after WITH should be taken as an identifier */
-any_with: WITH {}
- | WITH_LA {}
+any_with: WITH
+ | WITH_LA
;
;
analyze_keyword:
- ANALYZE {}
- | ANALYSE /* British */ {}
+ ANALYZE
+ | ANALYSE /* British */
;
vac_analyze_option_elem:
}
;
-opt_table: TABLE {}
- | /*EMPTY*/ {}
+opt_table: TABLE
+ | /*EMPTY*/
;
all_or_distinct:
;
opt_all_clause:
- ALL { $$ = NIL;}
- | /*EMPTY*/ { $$ = NIL; }
+ ALL
+ | /*EMPTY*/
;
opt_sort_clause:
}
;
-join_type: FULL join_outer { $$ = JOIN_FULL; }
- | LEFT join_outer { $$ = JOIN_LEFT; }
- | RIGHT join_outer { $$ = JOIN_RIGHT; }
+join_type: FULL opt_outer { $$ = JOIN_FULL; }
+ | LEFT opt_outer { $$ = JOIN_LEFT; }
+ | RIGHT opt_outer { $$ = JOIN_RIGHT; }
| INNER_P { $$ = JOIN_INNER; }
;
/* OUTER is just noise... */
-join_outer: OUTER_P { $$ = NULL; }
- | /*EMPTY*/ { $$ = NULL; }
+opt_outer: OUTER_P
+ | /*EMPTY*/
;
/* JOIN qualification clauses