aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2022-09-24 18:38:35 -0400
committerPeter Eisentraut <peter@eisentraut.org>2022-09-24 18:38:35 -0400
commit517484b5820e9e20057ff066b5df7d09cbb5f464 (patch)
tree15a9d9f1fe55768e0d37c133eda70152ecee258e /src/backend/executor/nodeModifyTable.c
parent8d985560fc1de6197323d4397d2a2bf762657463 (diff)
downloadpostgresql-517484b5820e9e20057ff066b5df7d09cbb5f464.tar.gz
postgresql-517484b5820e9e20057ff066b5df7d09cbb5f464.zip
Message style improvements
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
-rw-r--r--src/backend/executor/nodeModifyTable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c
index deda3215028..775960827d0 100644
--- a/src/backend/executor/nodeModifyTable.c
+++ b/src/backend/executor/nodeModifyTable.c
@@ -2082,10 +2082,10 @@ ExecCrossPartitionUpdateForeignKey(ModifyTableContext *context,
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("cannot move tuple across partitions when a non-root ancestor of the source partition is directly referenced in a foreign key"),
- errdetail("A foreign key points to ancestor \"%s\", but not the root ancestor \"%s\".",
+ errdetail("A foreign key points to ancestor \"%s\" but not the root ancestor \"%s\".",
RelationGetRelationName(rInfo->ri_RelationDesc),
RelationGetRelationName(rootRelInfo->ri_RelationDesc)),
- errhint("Consider defining the foreign key on \"%s\".",
+ errhint("Consider defining the foreign key on table \"%s\".",
RelationGetRelationName(rootRelInfo->ri_RelationDesc))));
}