Per report by Pallavi Sontakke
{
ereport(WARNING,
(errcode(ERRCODE_INVALID_COLUMN_REFERENCE),
- errmsg("Unique index of partitioned table must contain the hash/modulo distribution column.")));
+ errmsg("Unique index of distributed table must contain the hash/modulo distribution column.")));
/* create index still, just that it won't be unique */
stmt->unique = false;
stmt->isconstraint = false;
else
ereport(ERROR,
(errcode(ERRCODE_INVALID_COLUMN_REFERENCE),
- errmsg("Unique index of partitioned table must contain the hash/modulo distribution column.")));
+ errmsg("Unique index of distributed table must contain the hash/modulo distribution column.")));
}
}
#endif
if (loose_constraints && cxt->isalter && index->unique)
ereport(WARNING,
(errcode(ERRCODE_INVALID_COLUMN_REFERENCE),
- errmsg("Unique index of partitioned table must contain the"
+ errmsg("Unique index of distributed table must contain the"
" hash distribution column.")));
else
ereport(ERROR,
(errcode(ERRCODE_INVALID_COLUMN_REFERENCE),
- errmsg("Unique index of partitioned table must contain the"
+ errmsg("Unique index of distributed table must contain the"
" hash distribution column.")));
}
else