mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Message style improvement
Backpatch the part ofedee0c621d
that applies toa90bdd7a44
, which was also backpatched. That way, the message is consistent in all branches.
This commit is contained in:
@@ -10402,7 +10402,7 @@ CloneFkReferencing(List **wqueue, Relation parentRel, Relation partRel)
|
||||
if (fk->confrelid == RelationGetRelid(partRel))
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("can't attach table \"%s\" as a partition which is referenced by foreign key \"%s\"",
|
||||
errmsg("cannot attach table \"%s\" as a partition because it is referenced by foreign key \"%s\"",
|
||||
RelationGetRelationName(partRel),
|
||||
get_constraint_name(fk->conoid))));
|
||||
|
||||
|
Reference in New Issue
Block a user