support-partitioning-for-citus-local-tables
Ahmet Gedemenli 2021-08-16 18:30:55 +03:00
parent f5378a8c9d
commit 360c11f7fd
2 changed files with 3 additions and 2 deletions

View File

@ -400,7 +400,8 @@ ErrorIfUnsupportedCitusLocalTableKind(Oid relationId)
char relationKind = get_rel_relkind(relationId); char relationKind = get_rel_relkind(relationId);
if (!(relationKind == RELKIND_RELATION || relationKind == RELKIND_FOREIGN_TABLE || relationKind == RELKIND_PARTITIONED_TABLE)) if (!(relationKind == RELKIND_RELATION || relationKind == RELKIND_FOREIGN_TABLE ||
relationKind == RELKIND_PARTITIONED_TABLE))
{ {
ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("cannot add local table \"%s\" to metadata, only regular " errmsg("cannot add local table \"%s\" to metadata, only regular "