From 16870fed1055e89ae5d48b8ee70ae61fabad5093 Mon Sep 17 00:00:00 2001 From: Ahmet Gedemenli Date: Mon, 25 Oct 2021 15:23:32 +0300 Subject: [PATCH] Update comment --- .../distributed/commands/citus_add_local_table_to_metadata.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/backend/distributed/commands/citus_add_local_table_to_metadata.c b/src/backend/distributed/commands/citus_add_local_table_to_metadata.c index d07767ee4..0ba6d69f6 100644 --- a/src/backend/distributed/commands/citus_add_local_table_to_metadata.c +++ b/src/backend/distributed/commands/citus_add_local_table_to_metadata.c @@ -217,7 +217,10 @@ CreateCitusLocalTable(Oid relationId, bool cascadeViaForeignKeys, bool autoConve if (IsCitusTableType(relationId, CITUS_LOCAL_TABLE) && !autoConverted) { - /* we should mark this relation and connected ones as autoConverted = false */ + /* + * We allow users to mark local tables already added to metadata + * as "autoConverted = false". + */ List *relationIdList = GetForeignKeyConnectedRelationIdList(relationId); Oid relid = InvalidOid; foreach_oid(relid, relationIdList)