pg_shard icon indicating copy to clipboard operation
pg_shard copied to clipboard

Warn when distributing unenforceable constraints

Open jasonmp85 opened this issue 11 years ago • 0 comments

Certain constraints are unenforceable in a distributed setting: UNIQUE indexes foremost among them. pg_shard will happily propagate a UNIQUE index with nary a peep.

The extension should either warn when propagating these constraints or refuse to distribute tables altogether which contain such constraints.

jasonmp85 avatar Dec 27 '14 08:12 jasonmp85