From 79fafdf49ca9b5adbe36fb21facddb4ef1d81241 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 4 Jul 2003 02:51:34 +0000 Subject: Some early work on error message editing. Operator-not-found and function-not-found messages now distinguish the cases no-match and ambiguous-match, and they follow the style guidelines too. --- src/backend/commands/aggregatecmds.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/commands/aggregatecmds.c') diff --git a/src/backend/commands/aggregatecmds.c b/src/backend/commands/aggregatecmds.c index 860d490bd30..8006d718987 100644 --- a/src/backend/commands/aggregatecmds.c +++ b/src/backend/commands/aggregatecmds.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/aggregatecmds.c,v 1.9 2003/07/01 19:10:52 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/aggregatecmds.c,v 1.10 2003/07/04 02:51:33 tgl Exp $ * * DESCRIPTION * The "DefineFoo" routines take the parse tree and pick out the @@ -165,7 +165,7 @@ RemoveAggregate(RemoveAggrStmt *stmt) else basetypeID = ANYOID; - procOid = find_aggregate_func("RemoveAggregate", aggName, basetypeID); + procOid = find_aggregate_func(aggName, basetypeID, false); /* * Find the function tuple, do permissions and validity checks @@ -223,7 +223,7 @@ RenameAggregate(List *name, TypeName *basetype, const char *newname) rel = heap_openr(ProcedureRelationName, RowExclusiveLock); - procOid = find_aggregate_func("RenameAggregate", name, basetypeOid); + procOid = find_aggregate_func(name, basetypeOid, false); tup = SearchSysCacheCopy(PROCOID, ObjectIdGetDatum(procOid), -- cgit v1.2.3