Skip to content

Commit 89dda5f

Browse files
committed
Remove quotes around format_type_be() output
format_type_be() takes care of any needed quoting itself.
1 parent f26c989 commit 89dda5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/catalog/pg_constraint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ RenameConstraintById(Oid conId, const char *newname)
653653
newname))
654654
ereport(ERROR,
655655
(errcode(ERRCODE_DUPLICATE_OBJECT),
656-
errmsg("constraint \"%s\" for domain \"%s\" already exists",
656+
errmsg("constraint \"%s\" for domain %s already exists",
657657
newname, format_type_be(con->contypid))));
658658

659659
/* OK, do the rename --- tuple is a copy, so OK to scribble on it */

0 commit comments

Comments
 (0)