diff options
Diffstat (limited to 'src/backend/catalog/pg_aggregate.c')
-rw-r--r-- | src/backend/catalog/pg_aggregate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/catalog/pg_aggregate.c b/src/backend/catalog/pg_aggregate.c index 201242e7965..1ac235a0f40 100644 --- a/src/backend/catalog/pg_aggregate.c +++ b/src/backend/catalog/pg_aggregate.c @@ -116,7 +116,7 @@ AggregateCreate(const char *aggName, elog(ERROR, "aggregate must have a transition function"); if (numDirectArgs < 0 || numDirectArgs > numArgs) - elog(ERROR, "incorrect number of direct args for aggregate"); + elog(ERROR, "incorrect number of direct arguments for aggregate"); /* * Aggregates can have at most FUNC_MAX_ARGS-1 args, else the transfn @@ -711,7 +711,7 @@ AggregateCreate(const char *aggName, if (numDirectArgs != oldagg->aggnumdirectargs) ereport(ERROR, (errcode(ERRCODE_INVALID_FUNCTION_DEFINITION), - errmsg("cannot change number of direct args of an aggregate function"))); + errmsg("cannot change number of direct arguments of an aggregate function"))); replaces[Anum_pg_aggregate_aggfnoid - 1] = false; replaces[Anum_pg_aggregate_aggkind - 1] = false; |