mirror of https://github.com/citusdata/citus.git
upgrade test
parent
ff003bccd8
commit
7419f031d7
|
@ -521,6 +521,20 @@ MarkExistingObjectDependenciesDistributedIfSupported()
|
||||||
|
|
||||||
/* as of Citus 11, tables that should be synced are also considered object */
|
/* as of Citus 11, tables that should be synced are also considered object */
|
||||||
resultingObjectAddresses = lappend(resultingObjectAddresses, addressPointer);
|
resultingObjectAddresses = lappend(resultingObjectAddresses, addressPointer);
|
||||||
|
|
||||||
|
List *viewList = GetDependingViews(citusTableId);
|
||||||
|
Oid viewOid = InvalidOid;
|
||||||
|
foreach_oid(viewOid, viewList)
|
||||||
|
{
|
||||||
|
ObjectAddress viewAddress = { 0 };
|
||||||
|
ObjectAddressSet(viewAddress, RelationRelationId, viewOid);
|
||||||
|
|
||||||
|
if (DeferErrorIfHasUnsupportedDependency(viewAddress) == NULL)
|
||||||
|
{
|
||||||
|
/* as of Citus 11, tables that should be synced are also considered object */
|
||||||
|
resultingObjectAddresses = lappend(resultingObjectAddresses, addressPointer);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
List *distributableDependencyObjectAddresses =
|
List *distributableDependencyObjectAddresses =
|
||||||
|
|
Loading…
Reference in New Issue