Creates new colocation for colocate_with:='none' too

new-record-failure-dnm
Halil Ozan Akgul 2021-03-09 10:43:43 +03:00
parent 6254f30305
commit 14a4d988e3
1 changed files with 3 additions and 1 deletions

View File

@ -959,7 +959,9 @@ ColocationIdForNewTable(Oid relationId, Var *distributionColumn,
} }
else if (IsColocateWithNone(colocateWithTableName)) else if (IsColocateWithNone(colocateWithTableName))
{ {
colocationId = GetNextColocationId(); colocationId = CreateColocationGroup(shardCount, ShardReplicationFactor,
distributionColumnType,
distributionColumnCollation);
createdColocationGroup = true; createdColocationGroup = true;
} }