mirror of https://github.com/citusdata/citus.git
Update outdated comment
As of the current HEAD, we support sequences as first class objectspull/5674/head
parent
593861f285
commit
34d91009ed
|
@ -402,8 +402,7 @@ ErrorIfCurrentUserCanNotDistributeObject(ObjectType type, ObjectAddress *addr,
|
||||||
bool skipAclCheck = false;
|
bool skipAclCheck = false;
|
||||||
Oid idToCheck = InvalidOid;
|
Oid idToCheck = InvalidOid;
|
||||||
|
|
||||||
/* Since we don't handle sequences like object, add it separately */
|
if (!SupportedDependencyByCitus(addr))
|
||||||
if (!(SupportedDependencyByCitus(addr) || type == OBJECT_SEQUENCE))
|
|
||||||
{
|
{
|
||||||
ereport(ERROR, (errmsg("Object type %d can not be distributed by Citus", type)));
|
ereport(ERROR, (errmsg("Object type %d can not be distributed by Citus", type)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue