mirror of https://github.com/citusdata/citus.git
Address reviews 2
parent
7b84c72aae
commit
b082473563
|
@ -26,7 +26,6 @@
|
||||||
#include "miscadmin.h"
|
#include "miscadmin.h"
|
||||||
#include "storage/lmgr.h"
|
#include "storage/lmgr.h"
|
||||||
#include "utils/lsyscache.h"
|
#include "utils/lsyscache.h"
|
||||||
#include "miscadmin.h"
|
|
||||||
|
|
||||||
typedef bool (*AddressPredicate)(const ObjectAddress *);
|
typedef bool (*AddressPredicate)(const ObjectAddress *);
|
||||||
|
|
||||||
|
@ -243,7 +242,7 @@ GetDependencyCreateDDLCommands(const ObjectAddress *dependency)
|
||||||
Oid relationId = dependency->objectId;
|
Oid relationId = dependency->objectId;
|
||||||
List *commandList = NIL;
|
List *commandList = NIL;
|
||||||
|
|
||||||
if (IsCitusTable(relationId) && !IsTableOwnedByExtension(relationId))
|
if (IsCitusTable(relationId))
|
||||||
{
|
{
|
||||||
commandList = GetCitusTableDDLCommandList(relationId);
|
commandList = GetCitusTableDDLCommandList(relationId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue