mirror of
https://github.com/postgres/postgres.git
synced 2026-07-15 04:40:58 -04:00
Fix grammatical error introduced into error message.
This commit is contained in:
parent
be1d437e01
commit
d332f7f610
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parse_agg.c,v 1.58 2003/09/25 06:58:00 petere Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parse_agg.c,v 1.59 2003/09/25 15:58:06 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -302,7 +302,7 @@ check_ungrouped_columns_walker(Node *node,
|
|||
if (context->sublevels_up == 0)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_GROUPING_ERROR),
|
||||
errmsg("column \"%s.%s\" must appear in GROUP BY clause or used in an aggregate function",
|
||||
errmsg("column \"%s.%s\" must appear in the GROUP BY clause or be used in an aggregate function",
|
||||
rte->eref->aliasname, attname)));
|
||||
else
|
||||
ereport(ERROR,
|
||||
|
|
|
|||
Loading…
Reference in a new issue