mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
pgindent run for release 9.3
This is the first run of the Perl-based pgindent script. Also update pgindent instructions.
This commit is contained in:
@ -286,7 +286,7 @@ transformAggregateCall(ParseState *pstate, Aggref *agg,
|
||||
if (errkind)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_GROUPING_ERROR),
|
||||
/* translator: %s is name of a SQL construct, eg GROUP BY */
|
||||
/* translator: %s is name of a SQL construct, eg GROUP BY */
|
||||
errmsg("aggregate functions are not allowed in %s",
|
||||
ParseExprKindName(pstate->p_expr_kind)),
|
||||
parser_errposition(pstate, agg->location)));
|
||||
@ -554,7 +554,7 @@ transformWindowFuncCall(ParseState *pstate, WindowFunc *wfunc,
|
||||
if (errkind)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_WINDOWING_ERROR),
|
||||
/* translator: %s is name of a SQL construct, eg GROUP BY */
|
||||
/* translator: %s is name of a SQL construct, eg GROUP BY */
|
||||
errmsg("window functions are not allowed in %s",
|
||||
ParseExprKindName(pstate->p_expr_kind)),
|
||||
parser_errposition(pstate, wfunc->location)));
|
||||
|
Reference in New Issue
Block a user