mirror of https://github.com/citusdata/citus.git
Add a comment for why we dont allow alter and undistribute table for tables with identity columns
parent
6a69ae5dee
commit
d484a25891
|
@ -928,6 +928,11 @@ CopyTableConversionReturnIntoCurrentContext(TableConversionReturn *tableConversi
|
|||
static TableConversionReturn *
|
||||
ConvertTable(TableConversionState *con)
|
||||
{
|
||||
/*
|
||||
* We do not allow alter_distributed_table and undistribute_table operations
|
||||
for tables with identity columns. This is because we do not have a proper way
|
||||
of keeping sequence states consistent across the cluster.
|
||||
*/
|
||||
ErrorIfTableHasIdentityColumn(con->relationId);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue