You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- create partitioned tableCREATETABLEdistributed_partitioned_table (
id serialNOT NULL,
partition_col intNOT NULL,
PRIMARY KEY (id, partition_col)
) PARTITION BY RANGE (partition_col);
-- add normal length name partitionCREATETABLEdistributed_partitioned_table_p1 PARTITION OF distributed_partitioned_table
FOR VALUESFROM (1) TO (100);
-- add long name partitionCREATETABLEdistributed_partitioned_table_p2_longlonglonglonglonglonglong_name PARTITION OF distributed_partitioned_table
FOR VALUESFROM (100) TO (200);
-- distributeSELECT create_distributed_table('distributed_partitioned_table', 'id');
-- Add a unique constraint with a name to the distributed partitioned table-- this seems to deadlock sometimes for the long name partitionSET client_min_messages TO DEBUG1;
ALTERTABLE distributed_partitioned_table ADD CONSTRAINT dist_unique_named UNIQUE(id, partition_col);
ERROR: canceling the transaction since it was involved in a distributed deadlock
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
The text was updated successfully, but these errors were encountered: