Not consider single shard hash dist. tables as replicated (#4413)

(cherry picked from commit 0eb5701658)
pull/4578/head
Onur Tirtir 2020-12-15 14:33:01 +03:00
parent 4a1255fd10
commit a603ad9cbf
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ SingleReplicatedTable(Oid relationId)
List *shardPlacementList = NIL; List *shardPlacementList = NIL;
/* we could have append/range distributed tables without shards */ /* we could have append/range distributed tables without shards */
if (list_length(shardList) <= 1) if (list_length(shardList) == 0)
{ {
return false; return false;
} }