From b0824735634f89239c693de318e47dbd86e97d68 Mon Sep 17 00:00:00 2001 From: Burak Velioglu Date: Wed, 19 Jan 2022 11:41:26 +0300 Subject: [PATCH] Address reviews 2 --- src/backend/distributed/commands/dependencies.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/distributed/commands/dependencies.c b/src/backend/distributed/commands/dependencies.c index 736d9ae7b..57fb9507f 100644 --- a/src/backend/distributed/commands/dependencies.c +++ b/src/backend/distributed/commands/dependencies.c @@ -26,7 +26,6 @@ #include "miscadmin.h" #include "storage/lmgr.h" #include "utils/lsyscache.h" -#include "miscadmin.h" typedef bool (*AddressPredicate)(const ObjectAddress *); @@ -243,7 +242,7 @@ GetDependencyCreateDDLCommands(const ObjectAddress *dependency) Oid relationId = dependency->objectId; List *commandList = NIL; - if (IsCitusTable(relationId) && !IsTableOwnedByExtension(relationId)) + if (IsCitusTable(relationId)) { commandList = GetCitusTableDDLCommandList(relationId); }