diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-04 02:51:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-04 02:51:34 +0000 |
commit | 79fafdf49ca9b5adbe36fb21facddb4ef1d81241 (patch) | |
tree | 899cad919aba943e324e24b30dd7aa6183c0a901 /src/backend/commands/aggregatecmds.c | |
parent | cdb8a844e62c50e87d5eef19ee29b50837b1c460 (diff) | |
download | postgresql-79fafdf49ca9b5adbe36fb21facddb4ef1d81241.tar.gz postgresql-79fafdf49ca9b5adbe36fb21facddb4ef1d81241.zip |
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.
Diffstat (limited to 'src/backend/commands/aggregatecmds.c')
-rw-r--r-- | src/backend/commands/aggregatecmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
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), |