diff options
Diffstat (limited to 'src/backend/commands/tablecmds.c')
-rw-r--r-- | src/backend/commands/tablecmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 26e001f1886..0ecdecc2564 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -10741,7 +10741,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)))); |