mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Added patch by Christof Petig <christof.petig@wtal.de> that fixes some bugs in preproc.y.
This commit is contained in:
@@ -2758,11 +2758,11 @@ table_ref: relation_expr
|
||||
}
|
||||
| relation_expr alias_clause
|
||||
{
|
||||
cat2_str($1, $2);
|
||||
$$= cat2_str($1, $2);
|
||||
}
|
||||
| '(' select_subclause ')' alias_clause
|
||||
{
|
||||
cat_str(4, make_str("("), $2, make_str(")"), $4);
|
||||
$$=cat_str(4, make_str("("), $2, make_str(")"), $4);
|
||||
}
|
||||
| joined_table
|
||||
{
|
||||
@@ -2770,7 +2770,7 @@ table_ref: relation_expr
|
||||
}
|
||||
| '(' joined_table ')' alias_clause
|
||||
{
|
||||
cat_str(4, make_str("("), $2, make_str(")"), $4);
|
||||
$$=cat_str(4, make_str("("), $2, make_str(")"), $4);
|
||||
}
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user