mirror of https://github.com/citusdata/citus.git
Indent
parent
d38f9cb9d6
commit
9afadc0af8
|
@ -1153,7 +1153,6 @@ DropIdentitiesOnTable(Oid relationId)
|
|||
|
||||
dropCommandList = lappend(dropCommandList, dropCommand->data);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
relation_close(relation, NoLock);
|
||||
|
@ -1162,12 +1161,12 @@ DropIdentitiesOnTable(Oid relationId)
|
|||
foreach_ptr(dropCommand, dropCommandList)
|
||||
{
|
||||
/*
|
||||
* We need to disable/enable ddl propagation for this command, to prevent
|
||||
* sending unnecessary ALTER COLUMN commands for partitions, to MX workers.
|
||||
*/
|
||||
* We need to disable/enable ddl propagation for this command, to prevent
|
||||
* sending unnecessary ALTER COLUMN commands for partitions, to MX workers.
|
||||
*/
|
||||
ExecuteAndLogUtilityCommandList(list_make3(DISABLE_DDL_PROPAGATION,
|
||||
dropCommand,
|
||||
ENABLE_DDL_PROPAGATION));
|
||||
dropCommand,
|
||||
ENABLE_DDL_PROPAGATION));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3996,7 +3996,8 @@ ErrorIfTableHasUnsupportedIdentityColumn(Oid relationId)
|
|||
char *qualifiedRelationName = generate_qualified_relation_name(relationId);
|
||||
ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg(
|
||||
"cannot complete operation on %s with smallint/int identity column", qualifiedRelationName),
|
||||
"cannot complete operation on %s with smallint/int identity column",
|
||||
qualifiedRelationName),
|
||||
errhint(
|
||||
"Use bigint identity column instead.")));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue