1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-22 12:22:45 +03:00

Fix improper quoting of format_type_be() output.

Per our message style guidelines, error messages incorporating the
results of format_type_be() and its siblings should not add quotes
around those results, because those functions already add quotes
at need.  Fix a few places that hadn't gotten that memo.
This commit is contained in:
Tom Lane
2017-05-29 21:48:26 -04:00
parent 68cff231e3
commit d5cb3bab56
4 changed files with 6 additions and 6 deletions

View File

@@ -433,7 +433,7 @@ AggregateCreate(const char *aggName,
if (aggTransType == INTERNALOID && func_strict(combinefn))
ereport(ERROR,
(errcode(ERRCODE_INVALID_FUNCTION_DEFINITION),
errmsg("combine function with \"%s\" transition type must not be declared STRICT",
errmsg("combine function with transition type %s must not be declared STRICT",
format_type_be(aggTransType))));
}