From 6b387179baab8d0e5da6570678eefbe61f3acc79 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 9 Jul 2018 16:10:44 +0300 Subject: Fix misc typos, mostly in comments. A collection of typos I happened to spot while reading code, as well as grepping for common mistakes. Backpatch to all supported versions, as applicable, to avoid conflicts when backporting other commits in the future. --- src/backend/parser/parse_func.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/parser/parse_func.c') diff --git a/src/backend/parser/parse_func.c b/src/backend/parser/parse_func.c index c2feaf371fe..44257154b81 100644 --- a/src/backend/parser/parse_func.c +++ b/src/backend/parser/parse_func.c @@ -2195,7 +2195,7 @@ LookupFuncWithArgs(ObjectType objtype, ObjectWithArgs *func, bool noError) else if (func->args_unspecified) ereport(ERROR, (errcode(ERRCODE_UNDEFINED_FUNCTION), - errmsg("could not find a aggregate named \"%s\"", + errmsg("could not find an aggregate named \"%s\"", NameListToString(func->objname)))); else if (argcount == 0) ereport(ERROR, -- cgit v1.2.3