mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +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:
@@ -3162,7 +3162,7 @@ RenameType(RenameStmt *stmt)
|
||||
if (stmt->renameType == OBJECT_DOMAIN && typTup->typtype != TYPTYPE_DOMAIN)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
||||
errmsg("\"%s\" is not a domain",
|
||||
errmsg("%s is not a domain",
|
||||
format_type_be(typeOid))));
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user