mirror of https://github.com/citusdata/citus.git
Update todos
parent
cfe3f97faf
commit
d912cd9a9b
|
@ -59,8 +59,6 @@ EnsureDependenciesExistOnAllNodes(const ObjectAddress *target)
|
|||
/* collect all dependencies in creation order and get their ddl commands */
|
||||
List *dependencies = GetDependenciesForObject(target);
|
||||
|
||||
/* TODO: Might add check for PG (not Citus) tables */
|
||||
|
||||
ObjectAddress *dependency = NULL;
|
||||
foreach_ptr(dependency, dependencies)
|
||||
{
|
||||
|
@ -257,7 +255,7 @@ GetDependencyCreateDDLCommands(const ObjectAddress *dependency)
|
|||
tableDDLCommand));
|
||||
}
|
||||
|
||||
/* TODO: May need to move sequence dependencies to ActiveNode directly */
|
||||
/* TODO: May need to move sequence dependencies to ActivateNode directly */
|
||||
List *sequenceDependencyCommandList = SequenceDependencyCommandList(
|
||||
dependency->objectId);
|
||||
commandList = list_concat(commandList, sequenceDependencyCommandList);
|
||||
|
|
|
@ -677,7 +677,7 @@ SupportedDependencyByCitus(const ObjectAddress *address)
|
|||
*/
|
||||
if (relKind == RELKIND_COMPOSITE_TYPE ||
|
||||
relKind == RELKIND_RELATION ||
|
||||
relKind == RELKIND_PARTITIONED_TABLE || /* TODO: Should check for normal tables? */
|
||||
relKind == RELKIND_PARTITIONED_TABLE ||
|
||||
relKind == RELKIND_SEQUENCE)
|
||||
{
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue