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