mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03:00
Fixed two parser bugs.
This commit is contained in:
parent
56ac701b3b
commit
607359854e
@ -1,4 +1,4 @@
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.311.2.5 2007/03/27 03:25:43 tgl Exp $ */
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.311.2.6 2007/11/06 08:32:57 meskes Exp $ */
|
||||
|
||||
/* Copyright comment */
|
||||
%{
|
||||
@ -1881,6 +1881,10 @@ ConstraintAttributeSpec: ConstraintDeferrabilitySpec { $$ = $1; }
|
||||
|
||||
$$ = cat2_str($1, $2);
|
||||
}
|
||||
| /* EMPTY */
|
||||
{
|
||||
$$ = EMPTY;
|
||||
}
|
||||
;
|
||||
|
||||
ConstraintDeferrabilitySpec: NOT DEFERRABLE
|
||||
@ -3037,7 +3041,7 @@ DeleteStmt: DELETE_P FROM relation_expr using_clause where_clause
|
||||
{ $$ = cat_str(4, make_str("delete from"), $3, $4, $5); }
|
||||
;
|
||||
|
||||
using_clause: USING from_list { cat2_str(make_str("using"), $2); }
|
||||
using_clause: USING from_list { $$ = cat2_str(make_str("using"), $2); }
|
||||
| /* EMPTY */ { $$ = EMPTY; }
|
||||
;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user