Remove quotes around format_type_be() output

format_type_be() takes care of any needed quoting itself.
This commit is contained in:
Peter Eisentraut 2012-01-24 21:49:27 +02:00
parent f26c9896b3
commit 89dda5f297
1 changed files with 1 additions and 1 deletions

View File

@ -653,7 +653,7 @@ RenameConstraintById(Oid conId, const char *newname)
newname))
ereport(ERROR,
(errcode(ERRCODE_DUPLICATE_OBJECT),
errmsg("constraint \"%s\" for domain \"%s\" already exists",
errmsg("constraint \"%s\" for domain %s already exists",
newname, format_type_be(con->contypid))));
/* OK, do the rename --- tuple is a copy, so OK to scribble on it */