mirror of https://github.com/citusdata/citus.git
WIP
parent
e875774e97
commit
eff70eda81
|
@ -222,6 +222,10 @@ PreprocessDropTableStmt(Node *node, const char *queryString,
|
||||||
void
|
void
|
||||||
PostprocessCreateTableStmt(CreateStmt *createStatement, const char *queryString)
|
PostprocessCreateTableStmt(CreateStmt *createStatement, const char *queryString)
|
||||||
{
|
{
|
||||||
|
if (!IsCoordinator())
|
||||||
|
{
|
||||||
|
CacheInvalidateRelcacheAll();
|
||||||
|
}
|
||||||
PostprocessCreateTableStmtForeignKeys(createStatement);
|
PostprocessCreateTableStmtForeignKeys(createStatement);
|
||||||
|
|
||||||
if (createStatement->inhRelations != NIL)
|
if (createStatement->inhRelations != NIL)
|
||||||
|
|
Loading…
Reference in New Issue