From 216b9b5b7a245a33d1e22b2ea6a7415f35520a20 Mon Sep 17 00:00:00 2001 From: Onur Tirtir Date: Mon, 14 Mar 2022 16:34:09 +0300 Subject: [PATCH] Fix an incorrect error message related with fkeys between replicated dist tables (#5796) This is not supported in enterprise too. --- src/backend/distributed/commands/foreign_constraint.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/backend/distributed/commands/foreign_constraint.c b/src/backend/distributed/commands/foreign_constraint.c index 67a3e4335..a84e8cce2 100644 --- a/src/backend/distributed/commands/foreign_constraint.c +++ b/src/backend/distributed/commands/foreign_constraint.c @@ -410,9 +410,8 @@ EnsureReferencingTableNotReplicated(Oid referencingTableId) { ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("cannot create foreign key constraint"), - errdetail("Citus Community Edition currently supports " - "foreign key constraints only for " - "\"citus.shard_replication_factor = 1\"."), + errdetail("Citus currently supports foreign key constraints " + "only for \"citus.shard_replication_factor = 1\"."), errhint("Please change \"citus.shard_replication_factor to " "1\". To learn more about using foreign keys with " "other replication factors, please contact us at "