Update outdated comment

As of the current HEAD, we support sequences as first class objects
pull/5674/head
Onder Kalaci 2022-02-01 15:37:10 +01:00
parent 593861f285
commit 34d91009ed
1 changed files with 1 additions and 2 deletions

View File

@ -402,8 +402,7 @@ ErrorIfCurrentUserCanNotDistributeObject(ObjectType type, ObjectAddress *addr,
bool skipAclCheck = false;
Oid idToCheck = InvalidOid;
/* Since we don't handle sequences like object, add it separately */
if (!(SupportedDependencyByCitus(addr) || type == OBJECT_SEQUENCE))
if (!SupportedDependencyByCitus(addr))
{
ereport(ERROR, (errmsg("Object type %d can not be distributed by Citus", type)));
}