diff --git a/src/backend/distributed/metadata/dependency.c b/src/backend/distributed/metadata/dependency.c index b34cba6b0..820cb848f 100644 --- a/src/backend/distributed/metadata/dependency.c +++ b/src/backend/distributed/metadata/dependency.c @@ -1026,11 +1026,10 @@ GetRelationSequenceDependencyList(Oid relationId) { List *attnumList = NIL; List *dependentSequenceList = NIL; - List *sequenceDependencyDefList = NIL; GetDependentSequencesWithRelation(relationId, &attnumList, &dependentSequenceList, 0); - sequenceDependencyDefList = CreateObjectAddressDependencyDefList(RelationRelationId, - dependentSequenceList); + List *sequenceDependencyDefList = + CreateObjectAddressDependencyDefList(RelationRelationId, dependentSequenceList); return sequenceDependencyDefList; }