mirror of https://github.com/citusdata/citus.git
Fixes message for non-transaction-safe commands
parent
c7da2cd122
commit
48d749e2e8
|
@ -1265,9 +1265,10 @@ ExecuteDistributedDDLJob(DDLJob *ddlJob)
|
||||||
{
|
{
|
||||||
ereport(WARNING,
|
ereport(WARNING,
|
||||||
(errmsg(
|
(errmsg(
|
||||||
"CONCURRENTLY-enabled index commands can fail partially, "
|
"Commands that are not transaction-safe may result in partial failure"
|
||||||
"leaving behind an INVALID index.\n Use DROP INDEX "
|
", potentially leading to an inconsistent state. If the problematic command"
|
||||||
"CONCURRENTLY IF EXISTS to remove the invalid index.")));
|
" is a CREATE operation, consider using the 'IF EXISTS' syntax to drop the "
|
||||||
|
"object, if applicable, and then reattempt the original command.")));
|
||||||
PG_RE_THROW();
|
PG_RE_THROW();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue