mirror of https://github.com/citusdata/citus.git
Fix an incorrect error message related with fkeys between replicated dist tables (#5796)
This is not supported in enterprise too.pull/5466/head
parent
b24e1dfccc
commit
216b9b5b7a
|
@ -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 "
|
||||
|
|
Loading…
Reference in New Issue