From 26f7802beb2a4aafa0903f5bedeb7f1fa6f4f358 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 24 Sep 2022 18:38:35 -0400 Subject: Message style improvements --- src/backend/executor/nodeModifyTable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/executor/nodeModifyTable.c') 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)))); } -- cgit v1.2.3