mirror of https://github.com/citusdata/citus.git
Revert it back
parent
fc36de02ba
commit
f509cd6660
|
@ -509,11 +509,6 @@ CreateDistributedTable(Oid relationId, Var *distributionColumn, char distributio
|
||||||
CreateTruncateTrigger(relationId);
|
CreateTruncateTrigger(relationId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ShouldSyncTableMetadata(relationId))
|
|
||||||
{
|
|
||||||
SyncCitusTableMetadata(relationId);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If we are using master_create_distributed_table, we don't need to continue,
|
* If we are using master_create_distributed_table, we don't need to continue,
|
||||||
* because deprecated API does not supports the following features.
|
* because deprecated API does not supports the following features.
|
||||||
|
@ -539,6 +534,11 @@ CreateDistributedTable(Oid relationId, Var *distributionColumn, char distributio
|
||||||
CreateReferenceTableShard(relationId);
|
CreateReferenceTableShard(relationId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ShouldSyncTableMetadata(relationId))
|
||||||
|
{
|
||||||
|
SyncCitusTableMetadata(relationId);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We've a custom way of foreign key graph invalidation,
|
* We've a custom way of foreign key graph invalidation,
|
||||||
* see InvalidateForeignKeyGraph().
|
* see InvalidateForeignKeyGraph().
|
||||||
|
|
|
@ -1029,7 +1029,8 @@ GetRelationSequenceDependencyList(Oid relationId)
|
||||||
List *sequenceDependencyDefList = NIL;
|
List *sequenceDependencyDefList = NIL;
|
||||||
|
|
||||||
GetDependentSequencesWithRelation(relationId, &attnumList, &dependentSequenceList, 0);
|
GetDependentSequencesWithRelation(relationId, &attnumList, &dependentSequenceList, 0);
|
||||||
sequenceDependencyDefList = CreateObjectAddressDependencyDefList(RelationRelationId, dependentSequenceList);
|
sequenceDependencyDefList = CreateObjectAddressDependencyDefList(RelationRelationId,
|
||||||
|
dependentSequenceList);
|
||||||
|
|
||||||
return sequenceDependencyDefList;
|
return sequenceDependencyDefList;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue