mirror of https://github.com/citusdata/citus.git
Don't invalidate foreign key graph for CREATE TABLE commands
parent
0e85d8806c
commit
fffa011303
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue