diff --git a/src/backend/distributed/commands/table.c b/src/backend/distributed/commands/table.c index 089f1b838..d636637fa 100644 --- a/src/backend/distributed/commands/table.c +++ b/src/backend/distributed/commands/table.c @@ -200,12 +200,6 @@ PostprocessCreateTableStmt(CreateStmt *createStatement, const char *queryString) { ErrorOutForFKeyBetweenPostgresAndCitusLocalTable(relationId); } - - /* invalidate foreign key cache if the table involved in any foreign key */ - if ((TableReferenced(relationId) || TableReferencing(relationId))) - { - InvalidateForeignKeyGraph(); - } #endif if (createStatement->inhRelations != NIL && createStatement->partbound != NULL)