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 0424e8ba8..c0d8ff786 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 @@ -623,6 +623,8 @@ GetCascadeTypeForCitusLocalTables(bool autoConverted) * UpdateAutoConvertedForConnectedRelations updates the autoConverted field on * pg_dist_partition for the foreign key connected relations of the given relation. * Sets it to given autoConverted value for all of the connected relations. + * We don't need to update partition relations separately, since the foreign key + * graph already includes them, as they have the same (inherited) fkeys as their parents. */ static void UpdateAutoConvertedForConnectedRelations(Oid relationId, bool autoConverted)