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:
@@ -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))));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user