mirror of https://github.com/citusdata/citus.git
fixup! Consider fkey graph invalidations due to CREATE TABLE cmds too
parent
f3f650c0b7
commit
67f677c921
|
@ -536,13 +536,6 @@ multi_ProcessUtility(PlannedStmt *pstmt,
|
||||||
* Post process for ddl statements
|
* Post process for ddl statements
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (IsA(parsetree, CreateStmt))
|
|
||||||
{
|
|
||||||
CreateStmt *createStatement = (CreateStmt *) parsetree;
|
|
||||||
|
|
||||||
PostprocessCreateTableStmt(createStatement, queryString);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (EnableDDLPropagation)
|
if (EnableDDLPropagation)
|
||||||
{
|
{
|
||||||
if (ops && ops->postprocess)
|
if (ops && ops->postprocess)
|
||||||
|
@ -566,6 +559,13 @@ multi_ProcessUtility(PlannedStmt *pstmt,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IsA(parsetree, CreateStmt))
|
||||||
|
{
|
||||||
|
CreateStmt *createStatement = (CreateStmt *) parsetree;
|
||||||
|
|
||||||
|
PostprocessCreateTableStmt(createStatement, queryString);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We only process ALTER TABLE ... ATTACH PARTITION commands in the function below
|
* We only process ALTER TABLE ... ATTACH PARTITION commands in the function below
|
||||||
* and distribute the partition if necessary.
|
* and distribute the partition if necessary.
|
||||||
|
|
Loading…
Reference in New Issue