mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Disable brackets in multi-statement rules, as discussed.
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.289 2002/03/09 17:37:16 thomas Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.290 2002/03/10 06:00:13 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@ -2841,7 +2841,6 @@ RuleStmt: CREATE RULE name AS
|
||||
|
||||
RuleActionList: NOTHING { $$ = NIL; }
|
||||
| RuleActionStmt { $$ = makeList1($1); }
|
||||
| '[' RuleActionMulti ']' { $$ = $2; }
|
||||
| '(' RuleActionMulti ')' { $$ = $2; }
|
||||
;
|
||||
|
||||
|
@ -2153,7 +2153,6 @@ RuleStmt: CREATE RULE name AS
|
||||
|
||||
RuleActionList: NOTHING { $$ = make_str("nothing"); }
|
||||
| RuleActionStmt { $$ = $1; }
|
||||
| '[' RuleActionMulti ']' { $$ = cat_str(3, make_str("["), $2, make_str("]")); }
|
||||
| '(' RuleActionMulti ')' { $$ = cat_str(3, make_str("("), $2, make_str(")")); }
|
||||
;
|
||||
|
||||
|
Reference in New Issue
Block a user