mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Remove excess parens in ereport() calls
Cosmetic cleanup, not worth backpatching. Discussion: https://postgr.es/m/20200129200401.GA6303@alvherre.pgsql Reviewed-by: Tom Lane, Michael Paquier
This commit is contained in:
@@ -333,7 +333,7 @@ timeline_history:
|
||||
if ($2 <= 0)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_SYNTAX_ERROR),
|
||||
(errmsg("invalid timeline %u", $2))));
|
||||
errmsg("invalid timeline %u", $2)));
|
||||
|
||||
cmd = makeNode(TimeLineHistoryCmd);
|
||||
cmd->timeline = $2;
|
||||
@@ -365,7 +365,7 @@ opt_timeline:
|
||||
if ($2 <= 0)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_SYNTAX_ERROR),
|
||||
(errmsg("invalid timeline %u", $2))));
|
||||
errmsg("invalid timeline %u", $2)));
|
||||
$$ = $2;
|
||||
}
|
||||
| /* EMPTY */ { $$ = 0; }
|
||||
|
Reference in New Issue
Block a user