mirror of https://github.com/citusdata/citus.git
wip
parent
ff003bccd8
commit
66ed5abfa4
|
@ -133,6 +133,8 @@ PostprocessViewStmt(Node *node, const char *queryString)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EnsureSequentialMode(OBJECT_VIEW);
|
||||||
|
|
||||||
EnsureDependenciesExistOnAllNodes(&viewAddress);
|
EnsureDependenciesExistOnAllNodes(&viewAddress);
|
||||||
|
|
||||||
List *commands = list_make1(DISABLE_DDL_PROPAGATION);
|
List *commands = list_make1(DISABLE_DDL_PROPAGATION);
|
||||||
|
@ -199,6 +201,9 @@ PreprocessDropViewStmt(Node *node, const char *queryString, ProcessUtilityContex
|
||||||
|
|
||||||
EnsureCoordinator();
|
EnsureCoordinator();
|
||||||
|
|
||||||
|
|
||||||
|
EnsureSequentialMode(OBJECT_VIEW);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Swap the list of objects before deparsing and restore the old list after. This
|
* Swap the list of objects before deparsing and restore the old list after. This
|
||||||
* ensures we only have distributed views in the deparsed drop statement.
|
* ensures we only have distributed views in the deparsed drop statement.
|
||||||
|
|
Loading…
Reference in New Issue