From 7af49e41fdc4b57bfc33802adf1e3648bdaab4a8 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 25 Sep 2003 15:58:06 +0000 Subject: [PATCH] Fix grammatical error introduced into error message. --- src/backend/parser/parse_agg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/parser/parse_agg.c b/src/backend/parser/parse_agg.c index 4c2fc27781..662b06383c 100644 --- a/src/backend/parser/parse_agg.c +++ b/src/backend/parser/parse_agg.c @@ -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, -- 2.39.5